plot | R Documentation |
Generic plotting of comparison objects
plot(x, y, ...)
## S4 method for signature 'comparison,character'
plot(x, y)
## S4 method for signature 'comparison,missing'
plot(x, y)
x |
object of class |
y |
character |
... |
|
Creates a box- or violinplot of an object x
of the class comparison
.
A plot created with the additional package ggplot2
.
compare
for creating S4
objects of the class comparison
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.