matrixCutoff: Resets a value in an input matrix if it is smaller/greater...

View source: R/matrixCutoff.R

matrixCutoffR Documentation

Resets a value in an input matrix if it is smaller/greater than the threshold.

Description

Resets a value in an input matrix if it is smaller/greater than the threshold.

Usage

matrixCutoff(m, cutoff, comp = ">", new.val = 0)

Author(s)

Yu Wan (wanyuac@gmail.com)


wanyuac/handyR documentation built on June 10, 2024, 1:24 a.m.