Learn R Programming

secr (version 4.6.10)

popn: Population Object

Description

Encapsulate the locations of a set of individual animals.

Arguments

Details

An object of class popn records the locations of a set of individuals, together with ancillary data such as their sex. Often used for a realisation of a spatial point process (e.g. homogeneous Poisson) with known density (intensity). Locations are stored in a data frame with columns `x' and `y'.

A popn object has attributes

covariatesdata frame with numeric, factor or character variables to be used as individual covariates
model2D2-D distribution ("poisson", "cluster", "IHP", "linear" etc.)
Ndistdistribution of number of individuals ("poisson", "fixed")
boundingboxdata frame of 4 rows, the vertices of the rectangular area

The number of rows in covariates must match the length of x and y. See sim.popn for more information on Ndist and model2D.

See Also

sim.popn, plot.popn, transformations