An S4 class representing the random draws from a Model object.
Source:R/draws-class.R
Draws-class.RdAn object of class Draws represents the randomly drawn simulated data that is
generated when simulate_from_model is called on an object of
class Model. In particular, it contains a named list of nsim
simulated draws from a model object. The Model object's simulate
function populates this list.
Details
This class inherits from the Component class.
Slots
namea short name identifier. Must be alphanumeric. Should use the name of the Model object that generated it.
labela longer, human readable label that indicates what has been randomly drawn.
drawsa list with
nsimelements as created by calling thesimulatefunction of a Model object. This is a named list with each element labeled asri.jwhereiis theindexandjranges from1tonsim. The names are assigned bysimulate_from_model.indexan integer-valued numeric that indicates which block of random draws this is