fv_model | R Documentation |
Load and compile a strain model
fv_model(model, include, strains = 2, compile = TRUE, verbose = FALSE, ...)
model |
A character string indicating the path to the model. If not supplied the package default model is used. |
include |
A character string specifying the path to any stan files to include in the model. If missing the package default is used. |
strains |
Integer number of strains. Defaults to 2. Current maximum is 2. |
compile |
Logical, defaults to |
verbose |
Logical, defaults to |
... |
Additional arguments passed to |
A cmdstanr
model.
Functions used for modelling
fv_as_data_list()
,
fv_inits()
,
fv_sample()
# one strain model
mod <- fv_model(strains = 1)
# two strain model
two_strain_mod <- fv_model(strains = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.