View source: R/lines.circular.R
lines.circular | R Documentation |
A method taking coordinates in a polar system and joining the corresponding points with line segments.
## S3 method for class 'circular'
lines(x, y, join = FALSE, nosort = FALSE, offset=1, shrink=1,
plot.info = NULL, zero = NULL, rotation = NULL, modulo = NULL, ...)
x |
a vector of class |
y |
a vector with the same length as 'x'. |
join |
logical: if |
nosort |
logical: if |
offset |
the radius of the circle |
shrink |
parameter that controls the size of the plotted function. Default is 1. |
plot.info |
an object from another circular graphic function. |
zero |
the zero of the axis. |
rotation |
the rotation of the axis. |
modulo |
the modulo applied to 'x' before sorting. |
... |
graphical parameters passed to |
A list with information on the plot: zero, rotation and next.points.
Claudio Agostinelli
plot.circular
x <- rvonmises(20, circular(0), 10)
y <- runif(20, 0.5, 1)
plot(x, shrink=2)
lines(x, y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.