swihart/aaroseplot: Area Adjusted Roseplots via ggplot2

In ggplot2's documentation, the roseplot is derived by taking a barchart and mapping it to polar coordinates. In a bar chart, the height of the bar equals the area if the width is 1. In polar coordinates, the resulting sector (wedge, pie slice, etc) has a radius equal to the bar of the barchart, which results in the area being squarely proportional to the radius. In area adjusted roseplots, the area of the wedge is the value we want to portray, so we back calculate the radius that gives that area. This is not a novel idea, as the coxcomb and Florence Nightingale's work predates this work (understandinguncertainty.org/coxcombs).

Getting started

Package details

AuthorBruce Swihart <bruce.swihart@gmail.com>
MaintainerBruce Swihart <bruce.swihart@gmail.com>
LicenseGPL-2
Version0.2
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("swihart/aaroseplot")
swihart/aaroseplot documentation built on Nov. 20, 2022, 11:30 a.m.