dot-filterSw: Filter 3-dim array of numeric data (main)

.filterSwR Documentation

Filter 3-dim array of numeric data (main)

Description

Filtering of matrix or array x (may be 3-dim array) according to fiTy and checkVa

Usage

.filterSw(x, fiTy, checkVa, indexRet = TRUE)

Arguments

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 TRUE (default) rather return index numbers than filtered values

Value

This function returns either index (position within 'x') or concrete (filtered) result

See Also

filt3dimArr; filterList; filterLiColDeList;

Examples

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)

wrMisc documentation built on Sept. 11, 2024, 6:10 p.m.