Learn R Programming

loopr (version 1.0.1)

fillColumns: Fill variables with new information

Description

Replace all NA values in one set of columns with values from another matching set

Usage

fillColumns(data, originalNames, fillNames)

Arguments

data
A data frame
originalNames
A vector of column names with out-of-date information
fillNames
A vector of column names with new information. They will be removed at the end of processing.

Value

A tbl_df