graph.stat_glob {callback}R Documentation

Global callback rates plot

Description

Global callback rates plot

Usage

## S3 method for class 'stat_glob'
graph(
  data = NULL,
  method = "wilson",
  col = c("#F8766D", "#00BA38", "#619CFF"),
  ...
)

Arguments

data

A stat_glob object.

method

the type of confidence interval: "cp" for Clopper-Pearson, "wilson" for Wilson (the default), "student" for Student.

col

A list of colors (one colour 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_glob(m)
graph(s)


[Package callback version 0.1.1 Index]