powered by
checkGrpOrder tests each line of 'x' if expected order appears. Used for comparing groups of measures with expected profile (simply by mataching expected order)
checkGrpOrder
checkGrpOrder( x, rankExp = NULL, revRank = TRUE, silent = FALSE, debug = FALSE, callFrom = NULL )
vector of logical values
matrix or data.frame
(numeric) expected order for values in columns, default 'rankExp' =1:ncol(x)
(logical) if 'revRank'=TRUE, the initial ranks & reversed ranks will be tested
(logical) suppress messages
(logical) display additional messages for debugging
(character) allow easier tracking of messages produced
checkGrpOrderSEM
set.seed(2005); mat1 <- rbind(matrix(round(runif(40),1),nc=4), rep(1,4)) checkGrpOrder(mat1) checkGrpOrder(mat1,c(1,4,3,2))
Run the code above in your browser using DataLab