[Deprecated]

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)

Arguments

data

A dataframe

x, y

Character strings indicating the names of the two variables

Value

Invisibly returns a list including the t.test() output and Cohen's D

See also

t_test() for the recommended replacement

Examples

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)
} # }