Pair {stats} | R Documentation |

## Construct a Paired-Data Object

### Description

Combines two vectors into an object of class `"Pair"`

.

### Usage

```
Pair(x, y)
```

### Arguments

`x` |
a vector, the 1st element of the pair. |

`y` |
a vector, the 2nd element of the pair.
Should have the same length as |

### 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.4.0 Index]