plot.mr | R Documentation |
The plot method for mr
objects is an UpSet plot, showing co-occurences of the various categories. The image
method is a heatmap of the variable plotted against itself with mtable
.
## S3 method for class 'mr'
plot(x, ...)
## S3 method for class 'mr'
image(x, type = c("overlap", "conditional", "association",
"raw"), ...)
## S3 method for class 'mr'
barplot(height,...)
x |
|
type |
|
height |
|
... |
Passed to |
Used for its side effect
as.mr
, mtable
data(rstudiosurvey)
other_software<- as.mr(rstudiosurvey[[40]])
## only those with at least 20 responses
common<-mr_lump(other_software, n=20)
common<-mr_drop(common, "None")
## UpSet plot
plot(common)
## images
image(common, type="conditional")
image(common, type="association")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.