report.ttest {handyReport}R Documentation

CReport the results of t-test

Description

The function reports the results of t-tests with one categorical variable and one or several numeric variables.

Usage

report.ttest(ordinalna, intervalna, dataset, hedgesG = FALSE)

Arguments

ordinalna

The name of categorical variable. One variable can be considered.

intervalna

The name of interval/numberic variable(s). A string or a list. Several numeric variables can be considered.

dataset

The dataframe with categorical and numerical variables.

hedgesG

Should Hedges' g statistics be computed?

Note

Hedges' g statistics is a variation of Cohen's d, corrected for bias due to the sammple size.

Author(s)

Marjan Cugmas

References

Hedges, L., & Olkin, I. (2014). Statistical methods for meta-analysis. Academic press.

Examples

report.ttest(ordinalna = "vs", intervalna = c("disp", "wt", "qsec"), dataset = mtcars)

[Package handyReport version 0.0.0.903 Index]