View source: R/trajectory_visualization_helpers.R
| plot_traj_df_setup | R Documentation |
This function uses a trajectory object to create a DF of time, distance points for each trip. If inverse function is present, this will be used to interpolate only over the appropriate distance range of each trip. If not, interpolation will occur over the entire time range of the requested trips. Internal function.
plot_traj_df_setup(trajectory, has_inv, plot_trips, timestep, distance_lims)
trajectory |
A trajectory object |
has_inv |
a boolean, does the traj object have inv fun? |
timestep |
A numeric, time interval between interpolated poitns |
distance_lims |
A vector of (minimum, maximum) distance to interpolate |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.