Learn R Programming

callback (version 0.1.3)

plot.callback_stat: Plots for callback rates and shares

Description

Plots for callback rates and shares

Usage

# S3 method for callback_stat
plot(x, col = NULL, dif = TRUE, ...)

Value

a ggplot2 object

Arguments

x

a callback_stat object.

col

A list of four colors.

dif

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

...

further arguments passed to or from other methods.

Author

Emmanuel Duguet

Examples

Run this code
data(labour1)
m <- callback(labour1,"offer","hist","callback","all")
s <- stat_mcr(m)
plot(s)

Run the code above in your browser using DataLab