Plot the 1-D time-series of estimated location and behavioural states
Plot the 1-D time-series of estimated location and behavioural states
Takes a fitted fit_ssm object and plots the observed (data), estimated location and behavioural states (posterior means) as 1-D time-series. Each individual dataset is plotted separately.
plot_fit(fit)
Arguments
fit: an output object from fit_ssm
Returns
Observed locations are plotted as filled circles and estimated locations as blue lines with the 95% credible interval as a ribbon. Uses ggplot2 plotting functions.