clip_vals: Clips numeric values so that they lie in the range [min_val,...

View source: R/df_utils.R

clip_valsR Documentation

Clips numeric values so that they lie in the range [min_val, max_val] Works on both numeric arrays and dataframes

Description

Clips numeric values so that they lie in the range [min_val, max_val] Works on both numeric arrays and dataframes

Usage

clip_vals(x, min_val = NULL, max_val = NULL)

tanaylab/tgutil documentation built on Feb. 17, 2025, 8:18 p.m.