powered by
Plot the states and states probabilities.
plotStates(m, animals = NULL, ask = TRUE)
A moveHMM object
moveHMM
Vector of indices or IDs of animals for which states will be plotted.
If TRUE, the execution pauses between each plot.
TRUE
# m is a moveHMM object (as returned by fitHMM), automatically loaded with the package m <- example$m # plot states for first and second animals plotStates(m,animals=c(1,2))
Run the code above in your browser using DataLab