rbinds: Combine Two Data-frame by Rows

View source: R/utils.r

rbindsR Documentation

Combine Two Data-frame by Rows

Description

Combine two data.frame by rows by filling in missing column from each other based on colnames.

Usage

rbinds(F1, F2, fill = 0)

Arguments

F1

data.frame.

F2

data.frame.

fill

character/numeric. Default 0

Value

a combined data.frame

Examples

F1 = data.frame(A = 1:3, B = 1:3)
F2 = data.frame(B = 1:3, C = 1:3)
F3 = data.frame(C = 1:3, D = 1:3)
Reduce(rbinds, list(F1, F2, F3))


HatsuneCode/TrustVDJ documentation built on Aug. 13, 2022, 9:36 p.m.