plot_syn_cons: Plot consistency scores and responses by synesthetic inducer

Description Usage Arguments See Also

View source: R/plot_syn_cons.R

Description

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.

Usage

1
2
3
4
5
6
7
8
plot_syn_cons(
  ddf,
  hexcolors,
  savepath = NULL,
  tovar = FALSE,
  category_lines = FALSE,
  multi_char_category = FALSE
)

Arguments

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

See Also

ggplot


AnonZebra/synratss documentation built on Oct. 9, 2021, 2:31 a.m.