convert.mask: Convert mask object

View source: R/convert.r

convert.maskR Documentation

Convert mask object

Description

Converts an ascr mask matrix to a secr mask object.

Usage

convert.mask(mask)

Arguments

mask

A matrix with two columns, or a list of such matrices for a multi-session model. Each row provides Cartesian coordinates for the location of a mask point. It is most easily created using create.mask.

Details

The returned object is suitable for use as the mask argument of the function secr.fit.

Value

An object of class mask.

Examples

mask <- convert.mask(mask = example.data$mask)


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