hmmpars.paramtetric.boot | R Documentation |
Bootstraps hidden Markov model (HMM) data from estimated parameters and their variance-covariance matrix (one of each for each animal).
hmmpars.paramtetric.boot(availhmm, animals, seed = NULL, B, printprog = TRUE)
availhmm |
list with availability HMM parameters, as for the
|
animals |
a vector of integers indicating which of the elements of |
seed |
random number seed (integer). |
B |
number of bootstraps to perform (integer). |
printprog |
if TRUE prints progress through animals as it resamples. |
Resamples HMM paramters assuming asymptotic normality of parameters. Constructs a new hmm.pars object from the fitted HMM parameters.
Does the above B
times, each time reformtting the hmm.pars object as a vector using
vectorize.hmmpars
and then entering this as the next row in a matrix of dimension
B
xT, where T=3+length(animals)*(nstate^2+nstate*2)
and nstate
is the
number of states in the HMM.
A matrix of dimension B
xT, where T is as described above.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.