Learn R Programming

ordinal (version 2023.12-4.1)

clmm2.control: 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"))

Value

a list of control parameters.

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.

Author

Rune Haubo B Christensen

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".

See Also

clmm2