View source: R/plotting_functions.R
| plot_joint_circ | R Documentation |
This function produces a circular scatterplot with the step lengths plotted as distance from the center of a circle and the turn angles as angles (polar coordinates).
plot_joint_circ(traj = NULL, theta = NULL, x = NULL)
traj |
data.frame containing the trajectory produced by e.g.
|
theta |
(alternatively) numeric vector of angles (measurements of a circular variable) or "circular" component of pseudo-observations. |
x |
(alternatively) numeric vector of step lengths (measurements of a linear variable) or "linear" component of pseudo-observations. |
You can either specify traj or the angels and step lengths
theta and x.
A 'ggplot' object.
Hodelmethodcylcop
plot_cop_scat(), plot_track(),
plot_cop_surf(), plot_joint_scat().
set.seed(123) traj <- traj_sim(100, 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_joint_circ(traj)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.