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"))
usecpp(x, use = TRUE)
A psychonetrics
model.
A string indicating the estimator to be used
The optimizer to be used. Can be one of "nlminb"
(the default R nlminb
function), "ucminf"
(from the optimr
package), and C++ based optimizers "cpp_L-BFGS-B"
, "cpp_BFGS"
, "cpp_CG"
, "cpp_SANN"
, and "cpp_Nelder-Mead"
. The C++ optimizers are faster but slightly less stable. Defaults to "nlminb"
.
Logical indicating if C++ should be used (currently only used in FIML)
An object of the class psychonetrics (psychonetrics-class)