summary.popn {secr}R Documentation

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

sim.popn

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)


[Package secr version 5.0.0 Index]