Description Usage Arguments Value References Examples
hmm.smoother
provides backward (starting at end) recursion over
filtered state estimates as output from hmm.filter
. The product of
this function an array containing final state estimates.
1 | hmm.smoother(f, K1, K2, L, P)
|
f |
is array output from |
K1 |
is movement kernel generated by |
K2 |
is movement kernel generated by |
L |
is likelihood array output from |
P |
is transition matrix (usually 2x2) representing probability of state switching |
an array of the final state estimates of dim(state, time, lon, lat)
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
1 2 3 4 5 6 | ## Not run:
# Not run as function relies on large arrays of likelihoods
# RUN THE SMOOTHING STEP
s <- hmm.smoother(f, K1, K2, L, P.final)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.