replace_by_threshold: Select elements depending on thresholds

View source: R/algorithm.R

replace_by_thresholdR Documentation

Select elements depending on thresholds

Description

Select elements depending on thresholds

Usage

replace_by_threshold(target, thresholds, to)

Arguments

target

target vector, matrix or other types

thresholds

the threshold values (should be sorted)

to

the values which should be set depending on the thresholds

Value

replaced results


hmito/hmRLib documentation built on March 13, 2024, 9:41 p.m.