Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

plot

Generic plotting of comparison objects


Description

Generic plotting of comparison objects

Usage

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

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

randomizeR

Randomization for Clinical Trials

v2.0.0
GPL (>= 3)
Authors
David Schindler [aut], Diane Uschner [aut, cre], Marcia Viviane Rueckbeil [ctb], Martin Manolov [ctb], Thi Mui Pham [ctb], Michael Martini [ctb], Ralf-Dieter Hilgers [aut, ths], Nicole Heussen [aut, ths]
Initial release
2019-11-15

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.