ops (version 1.0)

filter: Filter matrix

Description

Filters two columns of a matrix to only contain values greater than a common threshold

Usage

filter(x, ia, ib, t = -1)

Arguments

x
the matrix to be filtered
ia
index of the first column
ib
index of the second column
t
the threshold up to which values are removed by the filtering

Value

Details

References

Ribeca P. and Sammeth M. (under review)

See Also

findP, distance

Examples

Run this code

x=cbind(rexp(1000),rexp(1000))
filter(x,1,2,0.1)

Run the code above in your browser using DataLab