paired_t_test: Paired samples t-test

Description Usage Arguments Value Examples

View source: R/statistics-utils.R

Description

A wrapper to stats::t.test() with paired = TRUE.

Usage

1

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 y1 and y2 as values.

...

Additional arguments passed to stats::t.test().

Value

A list with class "htest" as returned by stats::t.test().

Examples

1

psyntur documentation built on Sept. 15, 2021, 5:07 p.m.