paired_t_test {psyntur} | R Documentation |
Paired samples t-test
Description
A wrapper to stats::t.test()
with paired = TRUE
.
Usage
paired_t_test(y1, y2, data, ...)
Arguments
y1 |
A numeric vector of observations |
y2 |
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. |
data |
A data frame with |
... |
Additional arguments passed to |
Value
A list with class "htest" as returned by stats::t.test()
.
Examples
paired_t_test(y1, y2, data = pairedsleep)
[Package psyntur version 0.1.0 Index]