matchColClasses: Match the column classes of one data frame to another. Useful...

Description Usage Arguments Value

View source: R/matchColClasses.R

Description

Match the column classes of one data frame to another. Useful before calling 'rbind'. Note: this is just an easy way to use 'getColClasses' and 'applyColClasses' in a single step.

Usage

1
matchColClasses(master, student)

Arguments

master

A data frame or data table acting as MASTER.

student

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

Value

A data frame, with column classes adjusted as necessary.


rossholmberg/holmberg documentation built on April 23, 2018, 10:07 a.m.