grab | R Documentation |
tibble
's by name from a aniMotum
model objectgrab()
lets you obtain fitted
, predicted
, rerouted
or
data
tibble
's from a compound tibble
created when fitting to multiple
individual data sets. The specified tibble
's are appended to a single output
tibble
.
grab(x, what = "fitted", as_sf = FALSE, normalise = FALSE, group = FALSE)
x |
a |
what |
the tibble to be grabbed; either |
as_sf |
logical; if FALSE (default) then return a |
normalise |
logical; if output includes a move persistence estimate,
should |
group |
logical; should |
if multiple ssm_df
model objects are present in x
, as_sf = TRUE
,
and at least 1 estimated track has a coordinate reference system (crs
) with
longitude centered on 180 (e.g. a track straddling -180,180) then all tracks
will be re-projected to that crs
.
a tibble
with all individual tibble
's appended
## generate an ssm fit object
xs <- fit_ssm(ellie, spdf=FALSE, model = "rw", time.step=24, control = ssm_control(verbose = 0))
## grab predicted values as an un-projected tibble
preds <- grab(xs, what = "predicted")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.