graph.stat_tcs {callback}R Documentation

Total callback shares plots

Description

Total callback shares plots

Usage

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

Arguments

data

a stat_tcs object.

method

the type of confidence interval: "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]