filter: Filter matrix

Description Usage Arguments Author(s) References See Also Examples

View source: R/filter.R

Description

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

Usage

1
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

Author(s)

M. Sammeth <micha@sammeth.net>

References

Ribeca P. and Sammeth M. (under review)

See Also

findP, distance

Examples

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

ops documentation built on May 1, 2019, 7:55 p.m.