update.RoBTT | R Documentation |
update.RoBTT
can be used to
change the prior odds of fitted models by specifying a vector
prior_weights
of the same length as the fitted models,
refitting models that failed to converge with updated settings of control parameters,
or changing the convergence criteria and recalculating the ensemble
results by specifying new control
argument and setting
refit_failed == FALSE
.
## S3 method for class 'RoBTT'
update(
object,
refit_failed = TRUE,
prior_weights = NULL,
chains = NULL,
iter = NULL,
warmup = NULL,
thin = NULL,
parallel = NULL,
control = NULL,
convergence_checks = NULL,
save = "all",
seed = NULL,
silent = TRUE,
...
)
object |
a fitted RoBTT object |
refit_failed |
whether failed models should be refitted. Relevant only
|
prior_weights |
either a single value specifying prior model weight of a newly specified model using priors argument, or a vector of the same length as already fitted models to update their prior weights. |
chains |
a number of chains of the MCMC algorithm. |
iter |
a number of sampling iterations of the MCMC algorithm.
Defaults to |
warmup |
a number of warmup iterations of the MCMC algorithm.
Defaults to |
thin |
a thinning of the chains of the MCMC algorithm. Defaults to
|
parallel |
whether the individual models should be fitted in parallel.
Defaults to |
control |
allows to pass control settings with the
|
convergence_checks |
automatic convergence checks to assess the fitted
models, passed with |
save |
whether all models posterior distributions should be kept
after obtaining a model-averaged result. Defaults to |
seed |
a seed to be set before model fitting, marginal likelihood
computation, and posterior mixing for reproducibility of results. Defaults
to |
silent |
whether all print messages regarding the fitting process
should be suppressed. Defaults to |
... |
additional arguments. |
See RoBTT()
for more details.
RoBTT
returns an object of class 'RoBTT'.
RoBTT()
, summary.RoBTT()
, prior()
, check_setup()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.