rose_geom function

Direction Lines and Fans in Circular Diagram

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, ...)

Arguments

  • x: angles in degrees
  • radius: of the plotted circle
  • axial: 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)

Returns

No return value, called for side effects

Examples

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)
  • Maintainer: Tobias Stephan
  • License: GPL (>= 3)
  • Last published: 2025-03-01