Learn R Programming

ggpattern (version 0.1.3)

scale_pattern_shape: Scales for shapes, aka glyphs

Description

`scale_pattern_shape` maps discrete variables to six easily discernible shapes. If you have more than six levels, you will get a warning message, and the seventh and subsequence levels will not appear on the plot. Use [scale_pattern_shape_manual()] to supply your own values. You can not map a continuous variable to shape unless `scale_pattern_shape_binned()` is used. Still, as shape has no inherent order, this use is not advised..

Usage

scale_pattern_shape(..., solid = TRUE)

scale_pattern_shape_discrete(..., solid = TRUE)

scale_pattern_shape_ordinal(...)

scale_pattern_shape_continuous(...)

Arguments

...

other arguments passed to discrete_scale()

solid

Should the shapes be solid, `TRUE`, or hollow, `FALSE`?

Details

Scales for area or radius