resolve.cols: Ensure Dataframes Share Same Set Columns

Description Usage Arguments Value Author(s)

View source: R/matchMulti-internal.R

Description

Takes in two dataframes. For each column name that is in the second frame but not in the first frame, a new column of zeroes is added to the first frame.

Usage

1
resolve.cols(df1, df2)

Arguments

df1

a dataframe.

df2

a dataframe.

Value

a dataframe

Author(s)

Luke Keele, Penn State University, [email protected]

Sam Pimentel, University of Pennsylvania, [email protected]


matchMulti documentation built on Nov. 17, 2017, 4:03 a.m.