trim_values: Replace out-of-range values

trim_valuesR Documentation

Replace out-of-range values

Description

Replace out-of-range values

Usage

trim_values(x, below = -Inf, above = Inf, replace_with = NA)

Examples

x <- rnorm(n = 10, mean = 0, sd = 1.0)
trim_values(x, below = -0.1, above = 0.1, replace_with = NA)


BAAQMD/qtytools documentation built on June 30, 2022, 6:07 p.m.