S4 generic method to generate an instance of a population
Source:R/generic.functions.R
, R/Population.Description.R
, R/Simulation.R
generate.population-methods.Rd
Uses the population description and detectability details to generate an instance of the population. Note that if the first argument supplied is of class Population.Description rather than class Simulation then detectability and region must also be supplied.
Usage
generate.population(object, ...)
# S4 method for class 'Population.Description'
generate.population(object, detectability = NULL, region = NULL)
# S4 method for class 'Simulation'
generate.population(object, ...)
Arguments
- object
an object of class Simulation or Population.Description
- ...
when this is called on an object of class Population.Description the additional arguments detectability and region.obj should also be supplied
- detectability
object of class Detectability (optional - only required if object is of class Population.Description)
- region
the region object for the population (optional - only required if object is of class Population.Description)
Value
Population-class
object