stat_twocat | R Documentation |
Computes statistics of a cross-tabulation using assoc.twocat
function.
stat_twocat(mapping = NULL,
data = NULL,
geom = "point",
position = "identity",
...,
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 |
geom |
Override the default connection with |
position |
Position adjustment, either as a string naming the adjustment (e.g. |
... |
Other arguments passed on to |
show.legend |
logical. Should this layer be included in the legends? |
inherit.aes |
If |
A ggplot2
plot with the added statistic.
Nicolas Robette
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.