Learn R Programming

repfun (version 0.1.2)

ru_setdata: Append data sets even when variables do not match

Description

Pass in a collection of data frames separated by commas and they will be appended.

Usage

ru_setdata(..., keeprownames = TRUE)

Value

The incoming data frames combined (stacked).

Arguments

...

A collection of data frames.

keeprownames

Convert row names on data frame to columns and keep the column.

Examples

Run this code
library(repfun)
repfun::ru_setdata(head(mtcars,5),head(airquality,5))

Run the code above in your browser using DataLab