export: Export ctmm data formats

Description Usage Arguments Details Value Author(s) See Also

Description

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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## S4 method for signature 'UD'
raster(x,DF="CDF",...)

SpatialPoints.telemetry(object,...)

SpatialPolygonsDataFrame.UD(object,level.UD=0.95,level=0.95,...)

## S4 method for signature 'UD,character'
writeRaster(x,filename,format,DF="CDF",...)

writeShapefile(object,...)

## S3 method for class 'UD'
writeShapefile(object,folder,file=UD@info$identity,level.UD=0.95,level=0.95,...)

Arguments

x

UD object.

DF

Rasterize the probability density function "PDF", probability mass function "PMF", or cumulative distribution function "CDF".

object

telemetry or UD object.

level.UD

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

level

Confidence level for the magnitude of the above area. I.e., the 95% CI of the core home range area.

filename

Character name of file for raster file.

format

Character format, if not inferred from filename extension (see writeRaster.)

folder

Character name of folder for shapefile.

file

Character name of files for shapefile.

...

Optional arguments passed to writeRaster, writeOGR, etc..

Details

writeRaster writes a raster file to disk, with pixel values corresponding to the density function.

writeShapefile writes a shapefile to disk, with polygons corresponding to the low, ML, and high home-range area estimates.

Value

raster.UD returns a raster of the maximum likelihood (ML) distribution function DF. DF=PDF gives the average probability density per cell, DF=PMF gives the total probability per cell, and DF=CDF gives the cumulative probability.

SpatialPoints.telemetry returns a spatialPoints object for the x-y locations.

SpatialPolygonsDataFrame.UD returns a SpatialPolygonsDataFrame of the low, ML, and high home-range area estimates, in the appropriate order for plotting.

Author(s)

C. H. Fleming and K. Safi.

See Also

akde, as.telemetry, occurrence.


ctmm documentation built on May 19, 2017, 1:09 p.m.

Search within the ctmm package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.