Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

summary.popn

Summarise Simulated Population


Description

Concise summary of a popn object.

Usage

## S3 method for class 'popn'
summary(object, collapse = FALSE, ...)
## S3 method for class 'summary.popn'
print(x, ...)

Arguments

object

popn object

collapse

logical; if TRUE multi-session popn objects are treated as a single open population

x

summary.popn object

...

other arguments (not used)

Details

By default each component of a multisession object is summarised separately. If collapse = TRUE then turnover and movements are collated across sessions, matching individuals by rownames.

Value

For summary.popn, an object of class ‘summary.popn’ with various components. For a multisession object and collapse = TRUE the descriptors include the numbers of new individuals (recruits) and lost individuals (deaths), and matrices showing the status of each animal in each session (‘status’ codes 0 not recruited yet; 1 alive; -1 dead) and movement from previous session if alive then (‘movements’).

See Also

Examples

grid <- make.grid(8,8)
turnover <- list(phi = 0.8, lambda = 1)
pop <- sim.popn(Nbuffer = 200, core = grid, buffer = 200, Ndist = 'fixed', 
    nsessions = 5, details = turnover)
summary(pop, collapse = TRUE)

secr

Spatially Explicit Capture-Recapture

v4.4.1
GPL (>= 2)
Authors
Murray Efford
Initial release
2021-05-01

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.