area2radius: Radius of a sector (circle wedge)

View source: R/area2radius.R

area2radiusR Documentation

Radius of a sector (circle wedge)

Description

area2radius is a function that will return the radius for a sector (circle wedge) of a given area and angle.

Usage

  area2radius(area, w.g = width.global, a = angle,
    g = groups)

Arguments

area

The number to be represented by the area of the wedge

w.g

The global width (as specified in the bar chart)

a

The total angle to be occupied

g

The total number of groups to be displayed within angle a

Examples

area2radius(pi/4, 1.0, 90, 1)
area2radius(pi/4, 0.5, 90, 1)
area2radius(pi/4, 1.0, 90, 2)

swihart/aaroseplot documentation built on Nov. 20, 2022, 11:30 a.m.