Pair {stats}R Documentation

Construct paired-data object

Description

Combines two vectors into an object of class "Pair"

Usage

Pair(x, y)

Arguments

x

Vector. 1st element of pair.

y

Vector. 2nd element of pair. Should be same length as x

Value

A 2-column matrix of class "Pair"

Note

Mostly designed as part of the formula interface to paired tests.

See Also

t.test and wilcox.test


[Package stats version 4.3.0 Index]