Learn R Programming

momentuHMM (version 1.4.3)

plot.momentuHMMData: Plot momentuHMMData

Description

Plot momentuHMMData

Usage

# S3 method for momentuHMMData
plot(x, dataNames = c("step", "angle"),
  animals = NULL, compact = FALSE, ask = TRUE, breaks = "Sturges", ...)

Arguments

x

An object momentuHMMData

dataNames

Names of the variables to plot. Default is dataNames=c("step","angle").

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
# NOT RUN {
# data is a momentuHMMData object (as returned by prepData), automatically loaded with the package
data <- example$m$data

plot(data,dataNames=c("step","angle","cov1","cov2"),
     compact=TRUE,breaks=20,ask=FALSE)

# }

Run the code above in your browser using DataLab