View source: R/plot.swissMrP.R
plot | R Documentation |
swissMrP
Objects
This function plots the results of swissMrP
.
## S3 method for class 'swissMrP'
plot(x, conf.int = 0.95, col, design.dot = TRUE, lab, ...)
x |
Object returned from |
conf.int |
Confidence interval that should be displayed. Only meaningful if x is a matrix with dimensions 26* |
col |
Color for plot. |
design.dot |
Logical. If |
lab |
Label for x-axis. If there is no user specified label the default is |
... |
Further graphical arguments can be used, e.g. |
The design, when design.dot=FALSE
, was added for Fabio Wasserfallen.
Lucas Leemann, lleemann@gmail.com
swissMrP
, map.MrP
# fake data example
vec <- pnorm(rnorm(26))
class(vec) <- "swissMrP"
plot(vec, design.dot=FALSE, main="Simulated Data",
lab="Heterogeneous Preferences", col="green")
plot(vec, design.dot=TRUE, main="Simulated Data",
lab="Heterogeneous Preferences", col="blue")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.