View source: R/tableNormality.R
tableNormality | R Documentation |
This function returns a data.frame containing Shapiro Wilk results by conditions (and dimensions if "includeDimensions" is set to TRUE). Likewise, if "HTMLTable" is set to TRUE, it outputs results as an HTML table in APA style.
tableNormality(
audioData,
measure = "duration",
includeDimensions = FALSE,
figureNumber = 1,
nameMeasure = c(),
HTMLTable = FALSE
)
audioData |
A data.frame generated by the autoExtract() function. |
measure |
Name of the dependent variable. Default corresponds to duration. |
includeDimensions |
Logical value indicating if different dimensions should be also included as a factor when testing for normality. Default corresponds to FALSE. |
figureNumber |
Integer indicating the figure number, used to create the title for the table. Default corresponds to 1. |
nameMeasure |
Optional string indicating the name to be displayed for the dependent variable in the output table. If no value is provided, the string used for the measure attribute is displayed. |
HTMLTable |
Logical value indicating if an HTML table should be generated. Default corresponds to FALSE. |
If "HTMLTable" is set to FALSE, this function returns a data.frame with Shapiro-Wilk test results for each condition (if condition column exists) and dimension (if dimension column exists and "includeDimensions" is set to TRUE). Otherwise an HTML table showing test results in APA formatting style is created.
tableNormality(testAudioData, measure = "duration")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.