Learn R Programming

ctmm (version 1.2.0)

extent: Extent

Description

Functions to calculate the \((x,y)\) plotting extent (or bounding box) of various ctmm objects or list of such objects, for use when plotting multiple ctmm objects.

Usage


# S4 method for telemetry
extent(x,level=1,...)

# S4 method for ctmm extent(x,level=0.95,level.UD=0.95,...)

# S4 method for UD extent(x,level=0.95,level.UD=0.95,complete=FALSE,...)

# S4 method for variogram extent(x,level=0.95,threshold=2,...)

# S4 method for list extent(x,...)

# S4 method for data.frame extent(x,level=1,...)

# S4 method for matrix extent(x,level=1,...)

Arguments

x

A telemetry, ctmm, or UD object.

level

For telemetry objects, this is the fraction of locations bounded, according to two-sided quantiles. For ctmm and UD objects, this is confidence level for the magnitude of the utilization area circumscribed by level.UD.

level.UD

Coverage level of the UD area. I.e., the 50% core home range would be given by level.UD=0.50.

complete

Also calculate longitude-latitude extent of UD objects.

threshold

Limit ylim to threshold times the maximum semi-variance, even if the level confidence intervals exceed this amount.

...

Optional arguments for future extensions.

Author

C. H. Fleming

Details

Returns a data.frame with columns x and y with rows min and max. See vignette('akde') for an example of extent used to plot multiple UDs on the same scale.

See Also

plot.telemetry, plot.variogram.