plot descript | R Documentation |
The plot method for descript
objects currently works for dichotomous response patterns, and produces the
xy-plot of the total score versus the proportion of correct responses for each item.
## S3 method for class 'descript' plot(x, items = NULL, includeFirstLast = FALSE, xlab, ylab, ...)
x |
an object inheriting from class |
items |
a numeric vector indicating which items to plot. |
includeFirstLast |
logical; if |
xlab, ylab |
character string or an |
... |
extra graphical parameters to be passed to |
Dimitris Rizopoulos d.rizopoulos@erasmusmc.nl
descript
## Descriptives for WIRS data: dsc <- descript(WIRS) dsc plot(dsc, includeFirstLast = TRUE, type = "b", lty = 1, pch = 1:6) legend("topleft", names(WIRS), pch = 1:6, col = 1:6, lty = 1, bty = "n")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.