fit_model_with_nuts | R Documentation |
Fits a stan model using rstan::sampling()
. Provides the optional ability to
run chains using future
with error catching, timeouts and merging of
completed chains.
fit_model_with_nuts(
args,
future = FALSE,
max_execution_time = Inf,
id = "stan"
)
args |
List of stan arguments. |
future |
Logical, defaults to |
max_execution_time |
Numeric, defaults to Inf. What is the maximum execution time per chain in seconds. Results will still be returned as long as at least 2 chains complete successfully within the timelimit. |
id |
A character string used to assign logging information on error.
Used by |
A stan model object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.