plot.sim | R Documentation |
visualize simulated tracks from a sim
data.frame
## S3 method for class 'sim'
plot(x, type = 2, error = FALSE, pal = "Plasma", rev = FALSE, ...)
x |
a |
type |
either 1, a 1-D time-series of speed (if model is |
error |
logical, plot locations with error (TRUE) or without. Ignored in 1-D time-series plots |
pal |
grDevices::hcl.colors palette to use (default: "Plasma");
see |
rev |
reverse direction of colour palette; logical (default = FALSE) |
... |
additional arguments to be ignored |
Plots of simulated tracks. Can be rendered all on a single page (pages = 1) or on separate pages (pages = 0).
tr <- sim(N=200, model = "mp")
plot(tr)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.