# NOT RUN {
X<-round(cbind(
rnorm(10,1,1),
rnorm(10,1,1),
rnorm(10,1,1),
rnorm(10,1,1)))
# and numerator and denominator
# x times 4 contrast matrix
NMAT<-rbind(
c(1,0,0,0),
c(1,0,0,0),
c(1,0,0,0)
)
DMAT<-rbind(
c(0,1,0,0),
c(0,0,1,0),
c(0,0,0,1)
)
CCRatio.default(x=X, cmat=list(numC=NMAT, denC=DMAT) )
# }
Run the code above in your browser using DataLab