| as.trajectory | R Documentation |
Converts an object of type 'data.frame' or similar into a 'Trajectory' object. The 'data.frame' should contain columns 'x' and 'y' representing the coordinates.
as.trajectory(x, delta_time = 1)
x |
An object of class 'data.frame' with 'x' and 'y' columns. |
delta_time |
Control variable with a default value of 1. |
A 'Trajectory' object containing the coordinates from the 'data.frame'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.