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 March 16, 2024, 12:07 a.m.