updateDF: Carries out multiple replacements of values in a dataframe

View source: R/watanabe-df-manipulation.R

updateDFR Documentation

Carries out multiple replacements of values in a dataframe

Description

Carries out multiple replacements of values in a dataframe

Usage

updateDF(df, updates)

Arguments

df

The data frame to update.

updates

A dataframe containing information that identifies columns and their replacement values as well as which rows should be updated. Format is specified below.

Update Table

The update table contains information about which rows to update and the columns in df and values they should be updated with.


awatanabe/appr documentation built on Sept. 26, 2022, 8:04 a.m.