matchColNames: Match the column names between 2 data frames. Useful to use...

Description Usage Arguments Value

Description

Match the column names between 2 data frames. Useful to use before doing calling 'rbind'.

Usage

1
matchColNames(master, student, remove.unwanted = TRUE)

Arguments

master

A data frame or data table acting as MASTER.

student

A data frame or data table, will "learn" from the master.

remove.unwanted

logical. Whether or not to remove columns not needed to match "master"

Value

A data frame, with column names adjusted as necessary.


rossholmberg/holmberg documentation built on May 27, 2019, 11:34 p.m.