create_value_map: Create Value Map Creates a map of the categorical/factor...

View source: R/create_value_map.R

create_value_mapR Documentation

Create Value Map Creates a map of the categorical/factor variables in the dataset.

Description

Create Value Map Creates a map of the categorical/factor variables in the dataset.

Usage

create_value_map(df)

Arguments

df

A dataframe object.

Value

Returns a dataframe with mapped variables and values in a condensed format, and also adds a "new_value" column for recoding with other functions.


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