paired {PairedData} | R Documentation |
Paired
Description
This function creates objects of class paired
Usage
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
x<-rnorm(15)
y<-rnorm(15)
p1<-paired(x,y)
show(p1)
data(IceSkating)
p2<-with(IceSkating,paired(Extension,Flexion))
show(p2)
[Package PairedData version 1.1.1 Index]