View source: R/frequency_domain_functions.R
createBoxplot | R Documentation |
'createBoxplot' creates a boxplot between or within devices for the dominant frequency or the mean power spectral density per frequency bin
createBoxplot(
data,
freqBins,
outcome = c("domFreq", "meanPSD"),
group = c("brand", "dynamic_range"),
sampling_rate = c("low", "high", "bag"),
orientation_analyses = FALSE
)
data |
A data set containing the comparison values for the experiment |
freqBins |
A vector that indicates the cut-offs for the frequency bins |
outcome |
String containing the type of the comparison value. One of c("domFreq", "meanPSD") |
group |
String to indicate the grouping variable. One of c("brand", "dynamic_range") |
sampling_rate |
String to indicate the sampling rate during the experiment. One of c("low", "high", "bag") |
orientation_analyses |
Boolean to indicate if the analysis was for the ms_bag experiment, default = FALSE |
Boxplot between or within devices for the outcome (y-axis) per frequency bin (x-axis)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.