Learn R Programming

ggsubplot (version 0.3.1.9000)

geom_freqstar: Frequency Star glyphs

Description

geom_freqstar draws the type of glyph commonly called a star plot, radar plot, or polar plot. geom_freqstar bins the data provided as the angle variable and then maps frequency statistics to the r aesthetic. Compare with geom_star

Usage

geom_freqstar(mapping = NULL, data = NULL, stat = "bin", position = "identity", na.rm = FALSE, ...)

Arguments

mapping
The aesthetic mapping, usually constructed with aes. Only needs to be set at the layer level if you are overriding the plot defaults.
data
A layer specific dataset - only needed if you want to override the plot defaults
stat
The statistical transformation to use for this layer.
position
The position adjustment to use for overlapping points in this layer
na.rm
If FALSE (the default), removes missing values with a warning. If TRUE, silently removes missing variables.
...
other arguments passed on to layer. This can include aesthetics whose values you want to set, not map. See layer for more details.

Aesthetics

geom_freqstar understands the following aesthetics: x, y, colour, fill, size, linetype, weight, and alpha.