Description Usage Arguments Value Examples
View source: R/grouped_ttest.R
Function to run t-test on multiple variables across multiple grouping variables.
1 2 3 4 5 6 7 8 | grouped_ttest(
data,
dep.vars,
indep.vars,
grouping.vars,
paired = FALSE,
var.equal = FALSE
)
|
data |
Dataframe from which variables are to be taken. |
dep.vars |
List dependent variables for a t-test ( |
indep.vars |
List independent variables for a t-test ( |
grouping.vars |
List of grouping variables. |
paired |
A logical indicating whether you want a paired t-test (Default:
|
var.equal |
A logical variable indicating whether to treat the two
variances as being equal. If |
A tibble dataframe with tidy results from t-test analyses.
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.