summary.popn | R Documentation |
Concise summary of a popn
object.
## S3 method for class 'popn'
summary(object, collapse = FALSE, ...)
## S3 method for class 'summary.popn'
print(x, ...)
object |
|
collapse |
logical; if TRUE multi-session popn objects are treated as a single open population |
x |
|
... |
other arguments (not used) |
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.
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’).
sim.popn
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.