plotExposurePanel function

(Internal) Draw an exposure rate plot

(Internal) Draw an exposure rate plot

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

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.
  • Maintainer: Seung W. Choi
  • License: GPL (>= 2)
  • Last published: 2024-08-22