bin_vars: Replaces values in a vector that equal to certain values to a...

View source: R/utils.R

bin_varsR Documentation

Replaces values in a vector that equal to certain values to a new value

Description

@param v A vector @param orig_vals A vector of values in v to replace @param new_val The value to replace original values with @return A vector like v, except the orig_vals have been replaced with new_val @export

Usage

bin_vars(v, orig_vals, new_val)

kazeera/hourglass documentation built on April 5, 2025, 7:18 a.m.