tablejoin: Table Join

Description Usage Arguments Examples

View source: R/TableJoin.R

Description

This function joins tables using rbind but it will add blank columns to make the columns match if there are discrepancies. Soon to be replaced by dplyr::row_bind.

Usage

1
tablejoin(table1, table2)

Arguments

table1

First Table

table2

Second Table

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
tablea <- data.frame(Letter=c("A", "B", "C"), Integer=c(1,2,3))
tableb <- data.frame(Letter=c("A", "D", "E"), Animal=c("Cat", "Dog", "Snake"))
tablejoin(tablea, tableb)
  Letter Integer Animal
1      A       1
2      B       2
3      C       3
4      A            Cat
5      D            Dog
6      E          Snake

DylanSchertz/AquariusToolsAK documentation built on Feb. 15, 2022, 12:06 a.m.