g_difp {callback} | R Documentation |
Difference of proportions plot
Description
Difference of proportions plot
Usage
g_difp(
data = NULL,
method = "wilson",
col = c("#619CFF", "#619CFF", "#F564E3"),
...
)
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_difp(data=s,method="student")
[Package callback version 0.1.1 Index]