Description Usage Arguments Value See Also Examples
Runs t-test results between two groups for multiple variables
1 | mass_ttest(.data, x, y, ...)
|
.data |
dataframe that we're working with. |
x |
grouping variable with two levels |
y |
all numerical variables being compared by x |
... |
all parameters from t.test from the psych package |
A tidy table of t-test results with Cohen's D on all variables in varlist
between two groups in variable
1 2 | mass_ttest(mtcars, vs, c("cyl", "mpg"))
mass_ttest(mtcars, vs, c("cyl", "mpg"), var.equal = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.