plotRD: Plot RD results

Description Usage Arguments Value

View source: R/plotRD.r

Description

plotRD uses HMM output via calc.track to calculate and plot residency distributions for each behavior state and combined data

Usage

1
2
plotRD(distr, track, ptt, known = NULL, g, xlims, ylims, makePlot = TRUE,
  save.plot = FALSE)

Arguments

distr

is output array from hmm.smoother

track

is output dataframe from calc.track

ptt

is individual identification number

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.

g

grid from setup.grid

xlims

a vector of length 2 indicating longitude limits (-180 to 180).

ylims

a vector of length 2 indicating latitude limits

makePlot

is logical indicating whether to make a plot of the RD

save.plot

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

Value

a list of one raster layer for the combined RD and one raster brick (2 layers) for the individual behavior RDs.


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