calc.track: Calculate most probable track from state estimates

Description Usage Arguments Value Examples

View source: R/calc.track.r

Description

calc.track uses HMM output via hmm.smoother to calculate most probable track and behavior state

Usage

1
calc.track(distr, g, dateVec, iniloc, method = "mean")

Arguments

distr

is output array from hmm.smoother

g

is one of the outputs from resample.grid which denotes what spatial scale and grid you're working on

dateVec

is vector of dates from tag to pop-up in 1 day increments.

iniloc

is matrix of tag and pop locations. Default is NULL because this should be taken care of elsewhere.

method

is character indicating what method to use for track calculation. Currently only 'mean' and 'max' are supported.

Value

calculated track

Examples

1
2
3
4
5
6
7
## Not run: 

# GET THE MOST PROBABLE TRACK
tr <- calc.track(s, g, dateVec, iniloc)


## End(Not run)

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