graph.stat_ecs {callback}R Documentation

Exclusive callback shares plots

Description

Exclusive callback shares plots

Usage

## S3 method for class 'stat_ecs'
graph(
  data = NULL,
  method = "wilson",
  col = c("#F564E3", "#7CAE00", "#00BFC4"),
  dif = TRUE,
  ...
)

Arguments

data

a stat_ecs object.

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).

dif

TRUE for the difference in proportions (the default), FALSE for a comparison of confidence intervals

...

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_tcs(m)
graph(data=s,method="student")


[Package callback version 0.1.1 Index]