build_one_level_df: Replace all value in the column of a dataframe with a given...

Description Usage Arguments Value

View source: R/pip.R

Description

Takes a dataframe and replaces all the values in the variable column with the value level. Columns tracking which variable and level were used are also added to the dataframe.

Usage

1
build_one_level_df(dataframe, variable, level, one_variable_direction)

Arguments

dataframe

a dataframe

variable

The name of the column whose values we wish to change

level

The modified value to use in the variable column

Value

A dataframe


healthcareai documentation built on Sept. 2, 2018, 1:03 a.m.