.filterSw | R Documentation |
Filtering of matrix or array x
(may be 3-dim array) according to fiTy
and checkVa
.filterSw(x, fiTy, checkVa, indexRet = TRUE)
x |
array (3-dim) of numeric data |
fiTy |
(character) which type of testing to perform ('eq','inf','infeq','sup','supeq', '>', '<', '>=', '<=', '==') |
checkVa |
(logical) s |
indexRet |
(logical) if |
This function returns either index (position within 'x') or concrete (filtered) result
filt3dimArr
; 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)
.filterSw(arr1, fiTy="inf", checkVa=7)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.