Last data update: 2014.03.03

R: Class "Population.Description"
Population.Description-classR Documentation

Class "Population.Description"

Description

Class "Population.Description" is an S4 class containing a description of the population. It provides methods to generate an example population.

Slots

N

Object of class "numeric"; number of individuals in the population (optional).

density

Object of class "Density"; describes the population density

region.name

Object of class "character"; name of the region in which the population exists.

size

Object of class "logical"; Indicating whether detections will be made on cluster (TRUE) or individuals (FALSE).

size.table

Object of class "data.frame"; This must have 2 columns- size and prob. The first column gives the possible cluster sizes and the second describes the probabilities of each cluster size.

gen.by.N

Object of class "logical"; If TRUE N is fixed otherwise it is generated from a Poisson distribution.

D.dist

Object of class character; Describes the density distribution (currently not implemented).

Methods

get.N

signature=(object = "Population.Description"): returns the value of N

generate.population

signature=(object = "Population.Description"): generates a single realisation of the population.

See Also

make.population.description

Results