makePar: makePar gets parameters for subsequent filter/smoother
Description
Function builds movement kernels for 2 different behavior states and
calculates, if desired, switching probability using an expectation
maximization routine
is a grid output by resample.grid that corresponds to the
extent and resolution of L.arr (below).
L.arr
is the likelihood array used for state switch probability
calculation (see expmax). This is typically the L.mle array returned
from make.L because it's typically more coarse (and thus faster)
than the higher-resolution L array.
p.guess
is vector of length 2 indicating probability of staying in
states 1 and 2, respectively
calcP
is logical indicating whether to use expmax to calculate
state-switching probabilities
Value
list of parameters including movement kernels (K1, K2) and switch
probability (P.final)