print.trajectory {navigation} | R Documentation |
Print trajectory Objects
Description
Pretty formatting for trajectory
objects.
Usage
## S3 method for class 'trajectory'
print(x, obs = 5L, ...)
Arguments
x |
A |
obs |
A |
... |
Further arguments passed to or from other methods. |
Value
Print trajectory
objects.
Author(s)
Stephane Guerrier, Mehran Khaghani, and Lionel Voirol
Examples
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
[Package navigation version 0.0.1 Index]