bootstrap_coefs | R Documentation |
It is possible to parallelize the bootstrap runs using the future
package,
e.g., by calling future::plan(multisession, workers = 2)
before
bootstrap_coefs()
. See future::plan()
for details.
bootstrap_coefs(model, ...)
## S3 method for class 'nhmm'
bootstrap_coefs(
model,
nsim,
type = c("nonparametric", "parametric"),
append = FALSE,
...
)
## S3 method for class 'mnhmm'
bootstrap_coefs(
model,
nsim,
type = c("nonparametric", "parametric"),
append = FALSE,
...
)
model |
An |
... |
Additional arguments to |
nsim |
number of bootstrap samples. |
type |
Either |
append |
If |
method |
Estimation method used in bootstrapping. Defaults to |
bootstrap_coefs()
is compatible with progressr
package, so you can use
progressr::with_progress(bootstrap_coefs(fit))
to track the progress of
bootstrapping.
The original model with additional element model$boot
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.