Learn R Programming

secr (version 2.5.0)

summary.mask: Summarise Habitat Mask

Description

Concise summary of a mask object.

Usage

## S3 method for class 'mask':
summary(object, ...)
## S3 method for class 'summary.mask':
print(x, ...)

Arguments

object
mask object
x
summary.mask object
...
other arguments (not used)

Value

  • Object of class `summary.mask', a list with components
  • detectorcharacter string for detector type ("single","multi","proximity")
  • typemask type ("traprect", "trapbuffer", "pdot", "polygon", "user", "subset")
  • nmaskpointsnumber of points in mask
  • xrangerange of x coordinates
  • yrangerange of y coordinates
  • meanSDdataframe with mean and SD of x, y, and each covariate
  • spacingnominal spacing of points
  • cellareaarea (ha) of grid cell associated with each point
  • bounding boxdataframe with x-y coordinates for vertices of bounding box
  • covarsummary of each covariate

Details

The bounding box is the smallest rectangular area with edges parallel to the x- and y-axes that contains all points and their associated grid cells. A print method is provided for objects of class summary.mask.

See Also

mask

Examples

Run this code
tempmask <- make.mask(make.grid())
## left to right gradient
covariates (tempmask) <- data.frame(x = tempmask$x)
summary(tempmask)

Run the code above in your browser using DataLab