update.dynamitefit | R Documentation |
Note that using a different backend for the original model fit and when
updating can lead to an error due to different naming in cmdstanr
and
rstan
sampling arguments.
## S3 method for class 'dynamitefit'
update(
object,
dformula = NULL,
data = NULL,
priors = NULL,
recompile = NULL,
...
)
object |
[ |
dformula |
[ |
data |
[ |
priors |
[ |
recompile |
[ |
... |
Additional parameters to |
An updated dynamitefit
object.
Model fitting
dynamice()
,
dynamite()
,
get_priors()
data.table::setDTthreads(1) # For CRAN
## Not run:
# re-estimate the example fit without thinning:
# As the model is compiled on Windows, this will fail on other platforms
if (identical(.Platform$OS.type, "windows")) {
fit <- update(gaussian_example_fit, thin = 1)
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.