paired: Paired

Description Usage Arguments Details Value Author(s) Examples

View source: R/ClassP1.R

Description

This function creates objects of class paired

Usage

1
paired(x, y)

Arguments

x

first vector.

y

second vector.

Details

The two vectors must share the same class. Moreover, for vectors of class factor, they must have the same levels.

Value

An object of class paired.

Author(s)

Stephane Champely

Examples

1
2
3
4
5
6
7
8
x<-rnorm(15)
y<-rnorm(15)
p1<-paired(x,y)
show(p1)

data(IceSkating)
p2<-with(IceSkating,paired(Extension,Flexion))
show(p2)

PairedData documentation built on May 1, 2019, 6:49 p.m.