ind.ttest | R Documentation |
This function provides a wrapper for rstatix::t_test for the dependent variables 'dvs' including their effect sizes
ind.ttest(
data,
dvs,
iv,
alternative = "two.sided",
var.equal = FALSE,
hedges.correction = TRUE,
dv.var = NULL,
as.list = FALSE
)
data |
a data.frame or list containing the data |
dvs |
numeric columns with the dependent variables to be used in the independent t-test |
iv |
independent (between) variable in which perform the t-test |
alternative |
a character string specifying the alternative hypothesis, must be one of "two.sided" (default), "greater" or "less". You can specify just the initial letter. |
var.equal |
a logical variable indicating whether to treat the two variances as being equal. If TRUE then the pooled variance is used to estimate the variance otherwise the Welch (or Satterthwaite) approximation to the degrees of freedom is used. |
hedges.correction |
logical value indicating whether apply the Hedges correction |
dv.var |
column with the information to classify observations |
as.list |
logical value indicating that the result should be returned as list indicating by separate the t_test and cohens_d effect size |
A data.frame containing the results for the independent t-test and their effect sizes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.