This function has been deprecated in favor of t_test()
, which provides a more
comprehensive interface for all types of t-tests. Please use t_test(x, y, paired = TRUE)
instead.
paired_t_test_d(data, x, y)
Invisibly returns a list including the t.test() output and Cohen's D
t_test()
for the recommended replacement
if (FALSE) { # \dontrun{
# Deprecated - use t_test() instead
paired_t_test_d(iris, "Sepal.Width", "Petal.Length")
# New approach:
t_test(iris$Sepal.Width, iris$Petal.Length, paired = TRUE)
} # }