Learn R Programming

moveHMM (version 1.0)

plot.moveData: Plot moveData

Description

Plot moveData

Usage

## S3 method for class 'moveData':
plot(x, animals = NULL, compact = FALSE, ask = TRUE,
  breaks = "Sturges", ...)

Arguments

x
An object moveData
animals
Vector of indices or IDs of animals for which information will be plotted. Default: NULL ; all animals are plotted.
compact
TRUE for a compact plot (all individuals at once), FALSE otherwise (default -- one individual at a time).
ask
If TRUE, the execution pauses between each plot.
breaks
Histogram parameter. See hist documentation.
...
Currently unused. For compatibility with generic method.

Examples

Run this code
# data is a moveData object (as returned by prepData), automatically loaded with the package
data <- example$data

plot(data,compact=TRUE,breaks=20,ask=FALSE)

Run the code above in your browser using DataLab