View source: R/partial_credit_plots.R
partial_credit_contour_plot | R Documentation |
The contour plot is for sensitivity analysis. Currently it supports given DOOR outcome categories of three or four. The contour plot assigns every combinations of grade keys given a DOOR outcome distribution
partial_credit_contour_plot(
y1 = NULL,
y2 = NULL,
n1 = NULL,
n2 = NULL,
summary_obj = NULL,
data_type = c("freq", "prop"),
pc_inc = 10,
contour_inc = 1
)
y1 , y2 |
Numeric vectors of DOOR proportion or frequency distribution for group 1, group 2. The entries should be ordered from most desirable to least desirable |
n1 , n2 |
Sample sizes of group 1, group 2; must be specified if method = "prop" |
summary_obj |
An object returned by |
data_type |
Either "freq" for frequency input or "prop" for proportion input when using y1 and y2 |
pc_inc |
Increment of partial credits |
contour_inc |
Increment of contour lines |
A graph object
y1 <- c(60, 30, 10)
y2 <- c(50, 40, 10)
partial_credit_contour_plot(y1, y2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.