g_ecs {callback} | R Documentation |
Exclusive callback shares plot
Description
Exclusive callback shares plot
Usage
g_ecs(
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 (three 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_ecs(m)
g_ecs(s,method="cp")
[Package callback version 0.1.1 Index]