Generic plotting of comparison objects

Description

Generic plotting of comparison objects

Usage

1
2
3
4
5
6
7
plot(x, y, ...)

## S4 method for signature 'comparison,character'
plot(x, y)

## S4 method for signature 'comparison,missing'
plot(x, y)

Arguments

x

object of class comparison.

y

character "boxplot", or "violin", or "missing".

...

"missing"

Details

Creates a box- or violinplot of an object x of the class comparison.

Value

A plot created with the additional package ggplot2.

See Also

compare for creating S4 objects of the class comparison

Examples

1
2
3
4
5
6
7
# compare Random Allocation Rule and Big Stick for N = 4
# with respect to the correct guesses
RAR <- getAllSeq(rarPar(4))
BSD <- getAllSeq(bsdPar(4, mti = 2))
corGuess <- corGuess("CS")
comp <- compare(corGuess, RAR, BSD)
plot(comp)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.