graph.stat_mcr {callback}R Documentation

Matched callback rates plots

Description

Matched callback rates plots

Usage

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

Arguments

data

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


[Package callback version 0.1.1 Index]