Learn R Programming

voiceR (version 0.1.0)

tableSimpleMainEffects: Create a table for simple main effects analysis

Description

Automatically generates an HTML table with the results of a simple main effects analysis.

Usage

tableSimpleMainEffects(
  audioData,
  by = c(),
  measure = "duration",
  nameMeasure = c(),
  figureNumber = 1
)

Value

HTML table showing simple main effects analysis results in APA formatting style.

Arguments

audioData

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

by

A character vector indicating the name of the factors. Note: it requires two factors.

measure

Name of the dependent variable.

nameMeasure

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

figureNumber

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

Examples

Run this code
tableSimpleMainEffects(testAudioData, by = c("Condition", "Dimension"), measure = "duration")

Run the code above in your browser using DataLab