Learn R Programming

ctmm (version 0.2.9)

ctmm::export: Export ctmm data formats

Description

Functions to export ctmm data formats into common sp, raster, and ESRI formats.

Usage

raster.akde(AKDE,CI="ML")

SpatialPoints.telemetry(data)

SpatialPolygonsDataFrame.akde(AKDE,alpha.HR=0.05)

writeShapefile.akde(AKDE,folder,file=AKDE@info$identity,alpha.HR=0.05,...)

Arguments

AKDE
akde kernel density object.
CI
Which confidence interval of the bandwidth uncertainty to use: the "ML" point estimate, "low" or "high".
data
telemetry data object.
alpha.HR
Significance level of the home-range area. I.e., the 50% core home range is given by alpha.HR=0.50.
folder
Character name of folder for shapefile.
file
Character name of files for shapefile.
...
Optional arguments passed to writeOGR.

Value

  • raster.akde returns a raster of the maximum likelihood (ML) probability density function. SpatialPoints.telemetry returns a spatialPoints object for the x-y locations. SpatialPolygonsDataFrame.akde returns a SpatialPolygonsDataFrame of the low, ML, and high optimal-bandwidth AKDE home-range areas, in the appropriate order for plotting.

Details

writeShapefile.akde writes a shapefile to disk, with polygons corresponding to the low, ML, and high optimal-bandwidth AKDE home-range areas.

See Also

akde, as.telemetry.