Description Usage Arguments Value Examples
Met deze stat kunnen aan een circle-pack labels worden toegevoegd aan het centrum. See pack_circles
1 2 3 |
mapping |
The mapping of aesthetics to use for this stat. Inherits from |
data |
The data to use for this stat. Inherits from |
geom |
The geom to use. Defaults to polygon |
position |
Position adjustment, either as a string, or the result of a call to a position adjustment function. |
na.rm |
If |
show.legend |
logical. Should this layer be included in the legends? |
inherit.aes |
If |
... |
Other parameters to pass |
Returns a layer with labels at the circle centers.
1 2 3 4 5 6 7 8 9 | ## Not run:
ggplot(data, aes(y = mpg, label = name)) + stat_packcircles() + stat_packcircles_label()
ggplot(data, aes(y = mpg, label = name)) +
geom_polygon(stat = StatPackCircles) +
geom_text(stat = StatPackCirclesLabel)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.