plotExposurePanel: (Internal) Draw an exposure rate plot

View source: R/plot_functions.R

plotExposurePanelR Documentation

(Internal) Draw an exposure rate plot

Description

plotExposurePanel is an internal function for drawing an exposure rate plot for a single theta segment.

Usage

plotExposurePanel(
  item_exposure_rate,
  item_exposure_rate_final = NULL,
  stim_exposure_rate = NULL,
  stim_index = NULL,
  max_rate = max_rate,
  title = NULL,
  color = "blue",
  color_final = "yellow",
  color_stim = "red",
  color_threshold = "dark gray",
  simple = FALSE,
  ...
)

Arguments

item_exposure_rate

exposure rates for each item.

item_exposure_rate_final

exposure rates for each item, treating items administered in non-true segments as not exposed. Conceptually this will never exceed item_exposure_rate.

stim_exposure_rate

exposure rates for each stimulus.

stim_index

the stimulus index each item belongs to.

max_rate

target exposure rate for each theta segment.

title

the title of this plot panel.

color

the color for exposure rate bars. (default = blue)

color_final

the color for exposure rate bars, treating items administered in non-true segments as not exposed. (default = yellow)

color_stim

the color for stimulus groupings. (default = red)

color_threshold

the color for the target exposure rate bar. (default = dark gray)

simple

not used.

...

arguments to pass onto plot.


TestDesign documentation built on Sept. 11, 2024, 7:12 p.m.