powered by
A wrapper to stats::t.test() with paired = TRUE.
stats::t.test()
paired = TRUE
paired_t_test(y1, y2, data, ...)
A numeric vector of observations
A numeric vector of observations, with each value of y2 is assumed to be paired, such as by repeated measures, the corresponding value of y1.
A data frame with y1 and y2 as values.
y1
y2
Additional arguments passed to stats::t.test().
A list with class "htest" as returned by stats::t.test().
# NOT RUN { paired_t_test(y1, y2, data = pairedsleep) # }
Run the code above in your browser using DataLab