Metrop | R Documentation |
A subclass of Baysian calibrator that uses the mcmc::metrop function
A subclass of Baysian calibrator that uses the mcmc::metrop function
REpiSim::Calibrator
-> REpiSim::Baysian
-> Metrop
the
names of all parameters
The
samples of the posterior distribution
the
names of all parameters
The
samples of the posterior distribution
new()
initializer
Metrop$new( model, time, data, likelihood, ..., cumulative = FALSE, mapping = character() )
model
the model to calibrate
time
either a numeric vector containing the times (including the initial time) of the ODE solution that corresponds to the data, or a character value giving the name of the column in data that corresponds to time.
data
a data.frame object containign the data for the calibration
likelihood
a Distribution object specify the type of likelihood
...
each argument is a formula defining the maps between the data columns and the model variables. Please see the details section.
cumulative
whether the data is cumulative
A mapping is a named argument, where name is the data colummn name, and value corresponds to the model variables (or an expression to calculate from the model variables.)
continue()
Metrop$continue(...)
clone()
The objects of this class are cloneable with this method.
Metrop$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.