Learn R Programming

poorman (version 0.2.6)

union_all: Union All

Description

Union all elements of R objects together.

Usage

union_all(x, y, ...)

Arguments

x, y

objects to union all elements of (ignoring order)

...

other arguments passed on to methods

Examples

Run this code
first <- mtcars[1:20, ]
second <- mtcars[10:32, ]
union_all(first, second)

# union_all does not remove duplicates
a <- data.frame(column = c(1:10, 10))
b <- data.frame(column = c(1:5, 5))
union_all(a, b)

Run the code above in your browser using DataLab