View source: R/make_trajectory.R
make_trajectory | R Documentation |
trajectory
objectCreate a trajectory
object from simple matrix input.
make_trajectory(
data,
system = "ellipsoidal",
start_time = NULL,
name = NULL,
...
)
data |
A multiple-column |
system |
A |
start_time |
A |
name |
A |
... |
Additional arguments. |
An object of class trajectory
.
Davide Cucci, Lionel Voirol, Mehran Khaghani, Stéphane Guerrier
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
plot(traj)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.