Learn R Programming

simecol (version 0.6-6)

indbasedModel-class: Class "indbasedModel"

Description

This class extends class simObj. It is intended for individual-based models where the state (init-slot) is represented by a data frame and the parameters are represented as list.

Arguments

Objects from the Class

Objects can be created by calls of the form new("indbasedModel", ...).

Details

The optional observer-slot is intended as a flexible means to provide user-definded functions which are called in each iteration step. Their main task is to define a way to compute or collected the required outputs during the simulation. It is also possible to use this mechanism for animation or debugging, see daphnia_ibm for examples.

References

Petzoldt, T. and K. Rinke (2007). simecol: An Object-Oriented Framework for Ecological Modeling in R. Journal of Statistical Software, 22(9), 1--31. URL http://www.jstatsoft.org/v22/i09/.

See Also

iteration, daphnia_ibm

Examples

Run this code
showClass("indbasedModel")

Run the code above in your browser using DataLab