paired_t_test_d | R Documentation |
This function takes two variables that are representing paired data and
calculates a paired samples t.test
. It then also calculates and prints
Cohen's d as a measure of effect size and shows a clearer data label than
the t.test function.
paired_t_test_d(data, x, y)
data |
A dataframe |
x , y |
Character strings indicating the names of the two variables |
Invisibly returns a list including the t.test() output and Cohen's D
paired_t_test_d(iris, "Sepal.Width", "Petal.Length")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.