Set controls to steer calculations
Usage
set_control(
method = c("kr", "lmer"),
kr = control_kr(...),
lmer = lmerControl(check.nobs.vs.nRE = "warning"),
...
)
Arguments
- method
String indicating estimation method:
"kr"
or"lmer"
- kr
A list generated by control_kr.
- lmer
A list generated by lme4::lmerControl. The default is set to
lmerControl(check.nobs.vs.nRE = "warning")
, which turns fatal errors with respect the number of parameters into warnings. UselmerControl(check.nobs.vs.nRE = "ignore")
to silencelmer()
.- ...
Forwards arguments to
control_kr()
Value
For method "kr"
, a list returned by control_kr()
.
For method "lmer"
, an object of class lmerControl
.
For other methods, set_control()
returns NULL
.