Generate image to show a participant's sampling behaviour

fig_recreate_display(
  id,
  type = "expt",
  ps = c(0.005, 0.025, 0.05, 0.125, 0.25, 0.5, 0.75, 0.875, 0.95, 0.975, 0.995),
  letter = ""
)

Arguments

id

ID of participant whose samples to show

type

String indicating type of samples ("expt" for experiments; "null" for random shuffle reports)

ps

p values to overlay on the display

Value

Returns a file path to the generated PNG file

Examples

fig_recreate_display(id = "R_7V3ufsG6NYL27Ul")
#> [1] "/var/folders/yn/wzkl_t8567l9pvwhp0wsm40w0000gn/T//RtmpeAOprz/file1226032fb391f.png"