plot.osar | R Documentation |
plot One-Step-Ahead (prediction) residuals from a
aniMotum
osar
object
## S3 method for class 'osar'
plot(
x,
type = c("ts", "qqnorm", "acf"),
pages = 1,
ncol = 1,
ask = TRUE,
pal = "Zissou1",
...
)
x |
a |
type |
type of residual plot to generate: time-series (ts; default), qqnorm (qq), or acf |
pages |
plots of all individuals on a single page (pages = 1; default) or each individual on a separate page (pages = 0) |
ncol |
number of columns to use for faceting. Default is ncol = 2 but this may be increased for multi-individual fit objects |
ask |
logical; if TRUE (default) user is asked for input before each plot is rendered. set to FALSE to return ggplot objects |
pal |
grDevices::hcl.colors colour palette to use (default = "Zissou1";
see |
... |
additional arguments to be ignored |
## generate a fG_ssm fit object (call is for speed only)
xs <- fit_ssm(ellie, spdf=FALSE, model = "rw", time.step=24,
control = ssm_control(se = FALSE, verbose = 0))
res <- osar(xs)
plot(res, type = "qq")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.