Description Usage Arguments Value Examples
Determine the most likely path of survival states for each fish
1 | get_viterbi(fit_mod, msm_data, best_detects)
|
fit_mod |
Output of |
msm_data |
Output of |
best_detects |
Output of |
Returns a data.frame where $Viterbi encodes the most likely path of survival states (1 means alive whereas 2 means expired). The returned data can be input into make_plot
.
1 | viterbi <- get_viterbi(fit_mod, org_dat, best_detects)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.