View source: R/plot.telemetry.R
plot.telemetry | R Documentation |
Produces simple plots of telemetry
objects, possibly overlayed with a Gaussian ctmm
movement model or a UD
utilization distribution.
plot(x,y,...)
## S3 method for class 'telemetry'
plot(x,CTMM=NULL,UD=NULL,col.bg="white",cex=NULL,col="red",lwd=1,pch=1,type='p',
error=TRUE,transparency.error=0.25,velocity=FALSE,DF="CDF",col.DF="blue",
col.grid="white",labels=NULL,convex=FALSE,level=0.95,level.UD=0.95,col.level="black",
lwd.level=1,SP=NULL,border.SP=TRUE,col.SP=NA,R=NULL,col.R="green",legend=FALSE,
fraction=1,xlim=NULL,ylim=NULL,ext=NULL,units=TRUE,add=FALSE,...)
## S4 method for signature 'list'
zoom(x,...)
## S4 method for signature 'telemetry'
zoom(x,fraction=1,...)
## S4 method for signature 'UD'
zoom(x,fraction=1,...)
x |
|
y |
Unused option. |
CTMM |
Optional Gaussian |
UD |
Optional |
col.bg |
Background color |
cex |
Relative size of plotting symbols. Only used when |
col |
Color option for telemetry data. Can be an array or list of arrays. |
lwd |
Line widths of |
pch |
Plotting symbol. Can be an array or list of arrays. |
type |
How plot points are connected. Can be an array. |
error |
Plot error circles/ellipses if present in the data. |
transparency.error |
Transparency scaling for erroneous locations when |
velocity |
Plot velocity vectors if present in the data. |
DF |
Plot the maximum likelihood probability density function |
col.DF |
Color option for the density function. Can be an array. |
col.grid |
Color option for the maximum likelihood |
labels |
Labels for UD contours. Can be an array or list of arrays. |
convex |
Plot convex coverage-area contours if |
level |
Confidence levels placed on the contour estimates themselves. I.e., the above 50% core home-range area can be estimated with 95% confidence via |
level.UD |
Coverage level of Gaussian |
col.level |
Color option for home-range contours. Can be an array. |
lwd.level |
Line widths of |
SP |
|
border.SP |
Color option for shapefile polygon boundaries. |
col.SP |
Color option for shapefile polygon regions. |
R |
Background raster, such as habitat |
col.R |
Color option for background raster. |
legend |
Plot a color legend for background raster. |
fraction |
Quantile fraction of the data, Gaussian |
xlim |
The |
ylim |
The |
ext |
Plot extent alternative to |
units |
Convert axes to natural units. |
add |
Setting to |
... |
Additional options passed to |
Confidence intervals placed on the ctmm
Gaussian home-range contour estimates only represent uncertainty in the area's magnitude and not uncertainty in the mean location, eccentricity, or orientation angle. For akde
UD
estimates, the provided contours also only represent uncertainty in the magnitude of the area. With akde
estimates, it is also important to note the scale of the bandwidth and, by default, grid cells are plotted with akde
contours such that their length and width matches that of a bandwidth kernels' standard deviation in each direction. Therefore, this grid provides a visual approximation of the kernel-density estimate's “resolution”. Grid lines can be disabled with the argument col.grid=NA
.
Returns a plot of x
vs. y
, and, if specified, Gaussian ctmm
distribution or UD
.
akde
UD
plots also come with a standard resolution grid.
zoom
includes a zoom slider to manipulate fraction
.
If xlim
or ylim
are provided, then the smaller or absent range will be expanded to ensure asp=1
.
C. H. Fleming.
akde
, ctmm.fit
, plot
, SpatialPoints.telemetry
.
# Load package and data
library(ctmm)
data(buffalo)
# Plot the data
plot(buffalo,col=rainbow(length(buffalo)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.