sim_post | R Documentation |
ssm
fit.simulates track locations from the joint precision matrix of a
ssm
model fit. Currently, the joint precision of the SSM movement
parameters is not included (ie. a full posterior simulation).
sim_post(x, what = "predicted", reps = 1, sim_only = FALSE)
x |
a |
what |
simulate fitted or predicted locations |
reps |
number of replicate tracks to simulate from the |
sim_only |
logical, do not include |
a fG_sim_post
object containing the paths simulated from a
ssm
fit object
fit <- fit_ssm(ellie, model = "crw", time.step = 24)
psim <- sim_post(fit, "p", reps = 10)
plot(psim, type = "lines")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.