get.traps: Extracting trap locations

View source: R/helpers.r

get.trapsR Documentation

Extracting trap locations

Description

Extracts the trap locations used in an ascr fit.

Usage

get.traps(fit, session = NULL, as.list = NULL)

Arguments

fit

A fitted model from fit.ascr.

session

The session from which to extract the trap locations. If a vector, the function selects masks from multiple sessions, and "all" will use all sessions.

as.list

If TRUE, then a list is returned, with each component being a matrix of trap locations. If FALSE, all locations are combined into a single matrix.

Value

A traps object.


b-steve/ascr documentation built on Aug. 15, 2022, 2:38 p.m.