stat_counth | R Documentation |
Horizontal version of stat_count
().
stat_counth(
mapping = NULL,
data = NULL,
geom = "barh",
position = "stackv",
...,
width = NULL,
na.rm = FALSE,
show.legend = NA,
inherit.aes = TRUE
)
mapping |
Set of aesthetic mappings created by |
data |
The data to be displayed in this layer. There are three options: If A A |
geom |
Override the default connection between |
position |
Position adjustment, either as a string, or the result of a call to a position adjustment function. |
... |
Other arguments passed on to |
width |
Bar width. By default, set to 90% of the resolution of the data. |
na.rm |
If |
show.legend |
logical. Should this layer be included in the legends?
|
inherit.aes |
If |
stat_counth()
understands the following aesthetics (required aesthetics are in bold):
y
group
weight
x
Learn more about setting these aesthetics in vignette("ggplot2-specs")
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.