tableKruskal {voiceR}R Documentation

Create a table for Kruskal-Wallis test results

Description

Automatically generates HTML table with the results of a Kruskal-Wallis test.

Usage

tableKruskal(
  audioData,
  by = c(),
  measure = "duration",
  nameMeasure = c(),
  figureNumber = 1,
  InfoTable = FALSE
)

Arguments

audioData

A data.frame generated by the autoExtract() function.

by

A character vector indicating the name of the factor(s).

measure

Name of the dependent variable.

nameMeasure

Optional string to rename dependent variable in the output table. If no value is provided, original variable name is displayed.

figureNumber

Integer indicating the figure number, used to create the title for the table. Default corresponds to 1.

InfoTable

Logical value indicating the type of table to be reported. If FALSE, a table containing the mean ranks for each group is displayed; if TRUE, a table containing the main results for the Kruskal-Wallis test is displayed. Default corresponds to FALSE.

Value

HTML table showing Kruskal-Wallis test results in APA formatting style.

Examples

tableKruskal(testAudioData, by = "Condition", measure = "duration")


[Package voiceR version 0.1.0 Index]