plotHMM: Plot track results of HMMoce

Description Usage Arguments Value References

View source: R/plotHMM.r

Description

plotHMM uses HMM output via calc.track to make simple plots of calculated track and behavior state

Usage

1
2
plotHMM(distr, track, dateVec, ptt, known = NULL, resid = FALSE,
  behav.pts = F, save.plot = FALSE)

Arguments

distr

is output array from hmm.smoother

track

is output dataframe from calc.track

dateVec

is vector of dates from tag to pop-up location by day.

ptt

is unique ID for individual tag dataset

known

is 3 column data frame containing date, lat, lon of known movement track. This is only useful for comparing HMMoce results to known track collected by SPOT or GPS, for example. Default is NULL.

resid

is logical indicating whether you want to include a residual plot. This is not yet functional.

behav.pts

is logical indicating whether to plot points in the resulting map colored by behav state.

save.plot

is logical indicating whether you want the plot written to disk using pdf.

Value

NULL. A plot is rendered on screen or written to disk.

References

Pedersen MW, Patterson TA, Thygesen UH, Madsen H (2011) Estimating animal behavior and residency from movement data. Oikos 120:1281-1290. doi: 10.1111/j.1600-0706.2011.19044.x


HMMoce documentation built on Nov. 17, 2017, 5:57 a.m.