partial_credit_contour_plot {door}R Documentation

Generate contour plot for partial credit analysis

Description

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

Usage

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
)

Arguments

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 individual_to_summary(); Alternative input for y1 and y2

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

Value

A graph object

Examples

y1 <- c(60, 30, 10)
y2 <- c(50, 40, 10)
partial_credit_contour_plot(y1, y2)

[Package door version 0.0.2 Index]