Direction Lines and Fans in Circular Diagram
rose_line(x, radius = 1, axial = TRUE, add = TRUE, ...) rose_fan(x, d, radius = 1, axial = TRUE, add = TRUE, ...)
x
: angles in degreesradius
: of the plotted circleaxial
: Logical. Whether x
are uniaxial (axial=FALSE
) or biaxial (TRUE
, the default).add
: logical. Add to existing plot?...
: optional arguments passed to graphics::segments()
or graphics::polygon()
d
: width of a fan (in degrees)No return value, called for side effects
angles <- c(0, 10, 45) radius <- c(.7, 1, .2) lwd <- c(2, 1, .75) col <- c(1, 2, 3) rose_line(angles, radius = radius, axial = FALSE, add = FALSE, lwd = lwd, col = col)