Learn R Programming

move (version 4.2.5)

getVolumeUD: Utilization distribution (UD)

Description

The UD represents the minimum area in which an animal has some specified probability of being located (Cumulative Distribution Function).

Usage

# S4 method for .UD
getVolumeUD(x, ...)

Value

'raster' or 'rasterStack'

If several objects are provided, a list of rasters is returned

Arguments

x

a DBBMM, DBBMMStack, dynBGB, .UD or .UDStack object

...

when x is of class DBBMM or dynBGB, several objects of class DBBMM or dynBGB can be added (see 'Examples')

Author

Marco Smolla & Anne Scharf

See Also

raster2contour, contour, UDStack

Examples

Run this code
data(leroydbbmm)
data(dbbmmstack)
data(leroydbgb)
getVolumeUD(leroydbbmm) # for a DBBMM object
getVolumeUD(dbbmmstack) # for a DBBMMStack object 
getVolumeUD(leroydbgb) # for a dynBGB object 

getVolumeUD(leroydbbmm, leroydbgb) # for several objects 

plot(getVolumeUD(leroydbbmm))

## e.g. select the raster corresponding to the 95% UD
leroyUD <- getVolumeUD(leroydbbmm)
leroyUD[leroyUD>0.95] <- NA
plot(leroyUD)

Run the code above in your browser using DataLab