Description Usage Arguments See Also
View source: R/plot_syn_cons.R
Creates (inducer ; response variation score) bar plots for data from a consistency test for synesthesia, with each inducer in the color that correspond to each participant response beneath each bar.
1 2 3 4 5 6 7 8 | plot_syn_cons(
ddf,
hexcolors,
savepath = NULL,
tovar = FALSE,
category_lines = FALSE,
multi_char_category = FALSE
)
|
ddf |
named single-row array/matrix of mean difference between response colors. |
hexcolors |
data frame with hexadecimal color codes for responses for all graphemes |
savepath |
(optional) file path for saving produced plot |
tovar |
tovar: if TRUE, resulting plot is returned so that you can save it to a variable. defaults to FALSE |
category_lines: |
if TRUE, plots include lines representing the mean consistency score per category (digits, single letters, graphemes made up of multiple characters) |
multi_char_category: |
only relevant if category_lines set to TRUE. then, if TRUE, plots include a line representing mean for graphemes made up of multiple characters |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.