mutate_key_pair: Mutate columns on based on a list of names and values

mutate_key_pairR Documentation

Mutate columns on based on a list of names and values

Description

conditionally mutate on columns based on a list of column names and values. This is mostly useful for conditional mutate commands and can currently only mutate uniform columns. It is used inside the survey collapse functions

Usage

mutate_key_pair(df, names, values)

Arguments

df

dataframe

names

names of columns to mutate

values

uniform values to mutate


mhkhan27/illuminate documentation built on March 25, 2023, 5:41 p.m.