setestimator | R Documentation |
These functions can be used to change some estimator options.
setestimator(x, estimator)
setoptimizer(x, optimizer = c("default", "nlminb", "ucminf",
"cpp_L-BFGS-B", "cpp_BFGS", "cpp_CG", "cpp_SANN",
"cpp_Nelder-Mead"), optim.args)
usecpp(x, use = TRUE)
x |
A |
estimator |
A string indicating the estimator to be used |
optimizer |
The optimizer to be used. Can be one of |
use |
Logical indicating if C++ should be used (currently only used in FIML) |
optim.args |
List of arguments to sent to the optimizer. |
The default optimizer is nlminb with the following arguments:
eval.max=20000L
iter.max=10000L
trace=0L
abs.tol=sqrt(.Machine$double.eps)
rel.tol=sqrt(.Machine$double.eps)
step.min=1.0
step.max=1.0
x.tol=1.5e-8
xf.tol=2.2e-14
An object of the class psychonetrics (psychonetrics-class)
Sacha Epskamp
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.