View source: R/print.trajectory.R
print.trajectory | R Documentation |
Pretty formatting for trajectory
objects.
## S3 method for class 'trajectory'
print(x, obs = 5L, ...)
x |
A |
obs |
A |
... |
Further arguments passed to or from other methods. |
Print trajectory
objects.
Stephane Guerrier, Mehran Khaghani, and Lionel Voirol
n <- 100
dat <- cbind(
seq(from = 0, to = 60 * 60, length.out = n),
46.204391 * pi / 180 + cumsum(rnorm(n)) / 10^5,
6.143158 * pi / 180 + cumsum(rnorm(n)) / 10^5,
375 + cumsum(rnorm(n))
)
traj <- make_trajectory(data = dat, name = "My cool data")
traj
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.