Description Usage Arguments Details Value Examples

View source: R/dynamics-class.R

A dynamics object is a group of modular functions used modify habitat, population, and demography in a timestep.

1 2 3 4 5 6 7 8 | ```
dynamics(population_dynamics, habitat_dynamics, demography_dynamics,
order = c("population_dynamics", "habitat_dynamics",
"demography_dynamics"))
is.dynamics(x)
## S3 method for class 'dynamics'
print(x, ...)
``` |

`population_dynamics` |
A module to alter the population object in a simulation |

`habitat_dynamics` |
A module to alter the habitat object in a simulation |

`demography_dynamics` |
A module to alter the habitat object in a simulation |

`order` |
The order to apply the dynamics at each timestep in a simulation |

`x` |
an object to print or test as a dynamics object |

`...` |
further arguments passed to or from other methods |

A dynamics object modifies a state object in each timestep of a simulation based on specified habitat, demography, or population dynamics functions.

An object of class `dynamics`

1 2 3 4 5 6 7 8 9 10 11 12 | ```
library(steps)
library(raster)
dynamics <- dynamics(population_dynamics(),
habitat_dynamics(),
demography_dynamics())
# Test if object is of the type 'dynamics'
is.dynamics(test_dynamics)
print(test_dynamics)
``` |

skiptoniam/steps documentation built on Sept. 26, 2018, 5:18 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.