generate.population-methods: S4 generic method to generate an instance of a population

generate.populationR Documentation

S4 generic method to generate an instance of a population

Description

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 signature 'Population.Description'
generate.population(object, detectability = NULL, region = NULL)

## S4 method for signature '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


dsims documentation built on May 29, 2024, 12:10 p.m.