A single RoLE model.
roleModel.Rd
An 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
modelSteps
A 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]].
params
A `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)