add_exposure_data_to_1D_plot | R Documentation |
Add exposure/test data as points or ellipse to a ggplot2. For the 1D functions, the x-axis is assumed to be a phonetic cue. For the 2D functions, the x- and y-axes are assumed to be phonetic cues. The difference between adding exposure and test data is whether the data are colored by the category (exposure) or not (test).
add_exposure_data_to_1D_plot(
data,
cue.labels,
category.ids,
category.labels,
category.colors
)
add_test_data_to_1D_plot(data, cue.labels)
add_exposure_data_to_2D_plot(
data,
cue.labels,
category.ids,
category.labels,
category.colors
)
add_test_data_to_2D_plot(data, cue.labels)
add_exposure_summary_to_1D_plot(data)
add_exposure_summary_to_2D_plot(data, level = 0.95)
data |
A 'tibble' or 'data.frame'. For plotting points, this table must contain columns named in 'cue.labels'. For ellipsis plots, the table must contain the columns 'mean' and 'cov'. |
cue.labels |
Name of the columns in 'data' that contain the cue values of the data to be plotted. |
level |
Level of probability mass for which ellipsis should be plotted (default: .95) |
A list of geoms.
TBD
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.