Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

clmm.controlOld

Set control parameters for cumulative link mixed models


Description

Set control parameters for cumulative link mixed models

Usage

clmm2.control(method = c("ucminf", "nlminb", "model.frame"), ...,
             trace = 0, maxIter = 50, gradTol = 1e-4,
             maxLineIter = 50,
             innerCtrl = c("warnOnly", "noWarn", "giveError"))

Arguments

method

the optimizer used to maximize the marginal likelihood function.

...

control arguments passed on to the chosen optimizer; see ucminf, optim, and nlminb for details.

trace

numerical, if > 0 information is printed about and during the outer optimization process, if < 0 information is also printed about the inner optimization process. Defaults to 0.

maxIter

the maximum number of Newton updates of the inner optimization. 50.

gradTol

the maximum absolute gradient of the inner optimization.

maxLineIter

the maximum number of step halfings allowed if a Newton(-Raphson) step over shoots during the inner optimization.

innerCtrl

the use of warnings/errors if the inner optimization fails to converge.

Details

When the default optimizer, ucminf is used, the default values of that optimizers control options are changed to grtol = 1e-5 and grad = "central".

Value

a list of control parameters.

Author(s)

Rune Haubo B Christensen

See Also


ordinal

Regression Models for Ordinal Data

v2019.12-10
GPL (>= 2)
Authors
Rune Haubo Bojesen Christensen [aut, cre]
Initial release
2019-12-10

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.