recode_helper_map: Recode Helper Map

View source: R/recode_helper_map.R

recode_helper_mapR Documentation

Recode Helper Map

Description

Helper function to update the map dataframe based on user console inputs for the recoding steps

Usage

recode_helper_map(df, column, old_val, new_val)

Arguments

df

The dataframe

column

A character value of the column name to recode.

old_val

The old value to recode.

new_val

The new value to recode.

Value

Returns a re-coded dataframe for this single variable.


SaeedR1987/healthyr documentation built on July 4, 2023, 11:17 p.m.