createBoxplot: createBoxplot

View source: R/frequency_domain_functions.R

createBoxplotR Documentation

createBoxplot

Description

'createBoxplot' creates a boxplot between or within devices for the dominant frequency or the mean power spectral density per frequency bin

Usage

createBoxplot(
  data,
  freqBins,
  outcome = c("domFreq", "meanPSD"),
  group = c("brand", "dynamic_range"),
  sampling_rate = c("low", "high", "bag"),
  orientation_analyses = FALSE
)

Arguments

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

Value

Boxplot between or within devices for the outcome (y-axis) per frequency bin (x-axis)


wadpac/mechanicalshakerexperiments documentation built on July 2, 2024, 11:49 p.m.