g_prop {callback} | R Documentation |
Proportions' comparison plot
Description
Proportions' comparison plot
Usage
g_prop(
data = NULL,
method = "wilson",
col = c("#F564E3", "#7CAE00", "#00BFC4"),
...
)
Arguments
data |
A |
method |
the type of confidence interval: "cp" for Clopper-Pearson, "wilson" for Wilson (the default), "student" for Student. |
col |
A list of colors (two colors needed). |
... |
further arguments passed to or from other methods. |
Value
A ggplot2 object
Author(s)
Emmanuel Duguet
Examples
data(origin1)
m <- callback(labour1,"offer","hist","callback","all")
s <- stat_mcr(m)
g_prop(data=s,method="student")
[Package callback version 0.1.1 Index]