| Model-class | R Documentation |
An object of class Model specifies the statistical model. In particular,
all parameters are specified in addition to a function called simulate
that allows one to draw random samples from this model.
To get parameters stored in a Model object, a shortcut for
my_model@params$my_parameter is my_model$my_parameter.
This class inherits from the Component class.
namea short name identifier. Must be alphanumeric (though -, _, and / are allowed as long as they are not at the start or end of name.
labela longer, human readable label that can have other characters such as spaces, hyphens, etc.
paramsa list that contains the Model object's parameters
simulatea function that has arguments nsim and names
matching elements within names(params). It returns a list of
length nsim, where each element of the list represents a random draw
from the Model object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.