checkGrpOrder tests each line of 'x' if expected order appears.
Used for comparing groups of measures with expected profile (simply by mataching expected order)
Usage
checkGrpOrder(x, rankExp = NULL, revRank = TRUE)
Arguments
x
matrix or data.frame
rankExp
(numeric) expected order for values in columns, default 'rankExp' =1:ncol(x)
revRank
(logical) if 'revRank'=TRUE, the initial ranks & reversed ranks will be tested