Learn R Programming

flip (version 2.0)

flip.object-class: Class "flip.object" for storing the result of the function flip

Description

The class flip.object is the output of a call to flip. It stores the information needed for various diagnostic plots.

Arguments

Objects from the Class

Objects can be created by calls of the form new("flip.object", ...).

Examples

Run this code
showClass("flip.object")

y=matrix(rnorm(50),10,5)
colnames(y)=c("X1","X2","Y1","Y2","Y3")
res=flip(y)

## Selecting tests
res[1:2]
#same as
res["X"]
#different from (it selects tests having "1" or "2" in the name)
res[c("1","2")]

#plotting results
plot(flip(y)[1:2])

Run the code above in your browser using DataLab