visualize multiple fits from an fG compound tibble
Usage
# S3 method for fG_ssm
plot(x, what = c("fitted", "predicted"), type = 1, ncol = 1, ...)
Arguments
x
a foieGras ssm fit object with class `fG_ssm`
what
specify which location estimates to display on time-series plots: fitted or predicted
type
of plot to generate: 1-d time series for lon and lat separately (type = 1, default) or 2-d track plot (type = 2)
ncol
number of columns to use for faceting. Default is ncol = 1 but this may be increased for multi-individual fit objects
...
additional arguments to be ignored
Value
a ggplot object with either: (type = 1) 1-d time series of fits to data,
separated into x and y components (units = km) with prediction uncertainty ribbons (2 x SE);
or (type = 2) 2-d fits to data (units = km)