A single RoLE model.
roleModel.RdAn S4 class that holds a RoLE eco-evolutionary process model. A model is first initialized using a set of parameters, then run using those parameters.
Slots
modelStepsA list of `roleData` objects, one for each snapshot of the model that were recorded as the model ran. For example, the 3rd saved snapshot is accessed at modelSteps[[3]]. Models that are not yet run only have one timestep in modelSteps[[1]].
paramsA `roleParams` object containing the params to use when the model is run.
Examples
# Create a model using a default set of params, then run it.
m <- roleModel(roleParams())
m <- runRole(m)