report.ttest: CReport the results of t-test

Description Usage Arguments Note Author(s) References Examples

View source: R/report.ttest.R

Description

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

Usage

1
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

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

reporter documentation built on Sept. 19, 2020, 3:01 p.m.