View source: R/plotting_functions.R
plot_track | R Documentation |
This function plots the locations of a trajectory or multiple trajectories.
plot_track(traj = NULL, x_coord = NULL, y_coord = NULL)
traj |
data.frame containing the trajectory produced by e.g.
|
x_coord |
(alternatively) numeric vector of x-coordinates or a list of x-coordinate vectors of multiple trajectories. |
y_coord |
(alternatively) numeric vector of y-coordinates or a list of y-coordinate vectors of multiple trajectories. |
A 'ggplot
' object.
Hodelapplcylcop
\insertRefHodelmethodcylcop
plot_cop_scat()
,
plot_joint_circ()
, plot_cop_surf()
, plot_joint_scat()
.
set.seed(123) traj <- traj_sim(50, copula = cyl_quadsec(0.1), marginal_circ = list(name = "vonmises", coef = list(0, 1)), marginal_lin = list(name = "weibull", coef = list(shape = 3)) ) plot1 <- plot_track(traj=traj) x_coord <- list(runif(10),runif(20),runif(3)) y_coord <- list(runif(10),runif(20),runif(3)) plot2 <- plot_track(x_coord=x_coord, y_coord=y_coord)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.