merge.with.order: Function merge data frames without loosing order of either X...

Description Usage Arguments Value

Description

Function merge data frames without loosing order of either X or Y frame Shamelessly stolen from: https://www.r-statistics.com/2012/01/merging-two-data-frame-objects-while-preserving-the-rows-order/

Usage

1
2
## S3 method for class 'with.order'
merge(x, y, ..., sort = F, keep_order)

Arguments

x

first data frame to merge

y

second data frame to merge

sort

whether to sort the column (defaults to FALSE)

keep_order

keep order in x (1) or y (2)

by

merge by single column

by.x

merge by column in x

by.y

merge by column in y

Value

merged data frame


oyhel/Rhelpers documentation built on May 30, 2019, 7:20 a.m.