powered by
Filtering of matrix or (3-dim) array x : filter column according to filtCrit (eg 'inf') and threshold filtVal
x
filtCrit
filtVal
filt3dimArr( x, filtVal, filtTy = ">", filtCrit = NULL, displCrit = NULL, silent = FALSE, debug = FALSE, callFrom = NULL )
This function returns a list of filtered matrixes (by 3rd dim)
array (3-dim) of numeric data
(numeric, length=1) for testing inferior/superor/equal condition
(character, length=1) which type of testing to perform (may be 'eq','inf','infeq','sup','supeq', '>', '<', '>=', '<=', '==')
(character, length=1) which column-name consider when filtering filter with 'filtVal' and 'filtTy'
(character) column-name(s) to display
(logical) suppress messages
(logical) additional messages for debugging
(character) allow easier tracking of messages produced
and extract/display all col matching 'displCrit'.
filterList; filterLiColDeList;
filterList
filterLiColDeList
arr1 <- array(11:34, dim=c(4,3,2), dimnames=list(c(LETTERS[1:4]), paste("col",1:3,sep=""), c("ch1","ch2"))) filt3dimArr(arr1,displCrit=c("col1","col2"),filtCrit="col2",filtVal=7)
Run the code above in your browser using DataLab