Learn R Programming

TestDesign (version 1.0.2)

plotEligibilityStats: Draw item eligibility statistics plots

Description

Draw item eligibility statistics plots.

Usage

plotEligibilityStats(
  config,
  object = NULL,
  object_no_fading = NULL,
  file = NULL,
  file_no_fading = NULL,
  segment = 1,
  items = c(1),
  file_pdf = NULL,
  max_rate = 0.25,
  discard_first = NULL
)

Arguments

config

A '>config_Shadow object.

object

An object containing eligibility statistics generated by Shadow.

object_no_fading

An object containing eligibility statistics generated without fading.

file

The filename of an object containing eligibility statistics generated by Shadow.

file_no_fading

The filename of an object containing eligibility statistics generated without fading.

segment

A theta segment index.

items

A vector of item indices to generate the plots.

file_pdf

If supplied a filename, save as a PDF file.

max_rate

A target item exposure rate.

discard_first

A integer identifying the first x simulees to discard as burn-in.