Description Usage Arguments Details Value Examples

View source: R/population_dynamics-class.R

A `population_dynamics`

object is used to describe how populations
change in space and time.

1 2 3 4 5 6 7 | ```
population_dynamics(change, dispersal = NULL, modification = NULL,
density_dependence = NULL)
is.population_dynamics(x)
## S3 method for class 'population_dynamics'
print(x, ...)
``` |

`change` |
population_change_functions to define how population growth occurs at each timestep |

`dispersal` |
a single or list of population_dispersal_functions to define how the population disperses at each timestep (default is exponential kernel) |

`modification` |
a single or list of population_modification_functions to define any deterministic changes to the population - such as translocation - at each timestep |

`density_dependence` |
a single or list of population_density_dependence_functions to control density dependence effects on the population at each timestep |

`x` |
a population_dynamic object |

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

A population_dynamics object is passed to simulation
and defines how populations change between timesteps. Note, some dynamics
functions can be executed at non-regular intervals (i.e. only timesteps
explicitly defined by the user). The `population_dynamics`

function is
used to construct a population dynamics object consisting of several population
dynamics functions and their associated parameters. These functions specify how
the population in the landscape object will be modified throughout a simulation.

An object of class `population_dynamics`

1 2 3 4 5 6 7 8 9 10 11 12 | ```
library(steps)
library(raster)
# Construct a population dynamics object - note non-specified parameters
# uses default population growth function based on transition matrices
pop_dynamics <- population_dynamics()
# Test if object is of the type 'population dynamics'
is.population_dynamics(pop_dynamics)
# Print details about the 'population_dynamics' object
print(pop_dynamics)
``` |

skiptoniam/steps documentation built on Jan. 22, 2019, 11:28 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.