| update_params | R Documentation |
Replaces xsl_mod's leading parameter values with params, matched by
position (not by name) – e.g. a raw numeric vector such as DEoptim's
bestmem. The result keeps xsl_mod's original parameter names.
update_params(xsl_mod, params)
xsl_mod |
Object of class xslMod |
params |
Vector or list of parameter values, in the same order as
the leading elements of |
params may be shorter than xsl_mod$params, in which case only the
first length(params) parameters are replaced and the rest keep their
existing values. This is what lets xsl_fit() optimize a leading subset
of a model's parameters (e.g. uncfam()'s numeric X/B/C but not its
categorical variant) by giving DEoptim lower/upper bounds shorter
than the model's full parameter list.
An object of class xslMod
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.