plot_points | R Documentation |
Add points to a plot of circular data points on the current graphics device.
plot_points(
x,
axial = TRUE,
stack = FALSE,
binwidth = 1,
cex = 1,
sep = 0.025,
jitter_factor = 0,
...,
scale = 1.1,
add = TRUE,
main = NULL,
labels = TRUE,
at = seq(0, 360 - 45, 45),
cborder = TRUE
)
x |
Data to be plotted. A numeric vector containing angles (in degrees). |
axial |
Logical. Whether data are uniaxial ( |
stack |
logical: if |
binwidth |
numeric. Bin width (in degrees) for the stacked dot plots.
ignored when |
cex |
character (or symbol) expansion: a numerical vector. This works as
a multiple of |
sep |
constant used to specify the distance between stacked points, if
|
jitter_factor |
numeric. Adds a small amount of random variation to the
location of each points along radius that is added to |
... |
Further graphical parameters may also be supplied as arguments. |
scale |
radius of plotted circle. Default is |
add |
logical |
main |
Character string specifying the title of the plot. |
labels |
Either a logical value indicating whether to plot labels next to the tick marks, or a vector of labels for the tick marks. |
at |
Optional vector of angles at which tick marks should be plotted.
Set |
cborder |
logical. Border of rose plot. |
A list with information on the plot
x <- rvm(100, mean = 90, k = 5)
plot_points(x, add = FALSE)
plot_points(x, jitter_factor = .2, add = FALSE) # jittered plot
plot_points(x, stack = TRUE, binwidth = 3, add = FALSE) # stacked plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.