Data to produce plots of fitted model
getPlotData(m, type, format = "wide", alpha = 0.95)
Data frame (or list of data frames) containing data in a format that can easily be plotted. If type = "dist", the output is a list with two elements, "step" and "angle". If type = "tpm" or "stat", the output is a list with one element for each covariate. See details for more extensive description of output.
Fitted HMM object, as output by fitHMM.
Type of plot, one of: "dist", "tpm", "stat"
Format of data, either "wide" (for base graphics) or "long" (for ggplot)
Level of confidence intervals. Default: 0.95, i.e., 95% confidence intervals
If type = "dist", the function evaluates each state-dependent distribution over the range of observed variable (step length or turning angle), and weighs them by the proportion of time spent in each state (obtained from Viterbi state sequence).
If type = "tpm", the function returns transition probabilities estimated over a range of covariate values. Other covariates are fixed to their mean values.