Description Usage Arguments Value Author(s) Examples
View source: R/pub01_utilityFuncs.R
Just same with merge
, except that: (1) the order of merging result is kept same with x
;(2)speed up by using merge.data.table
.
1 2 3 |
x |
a data frame |
y |
a data frame |
by |
a vector of shared column names in x and y to merge on. |
mult |
a character string: one of "all","first","last". See detail in |
a new data.frame based on the merged data tables, sorted by the x order.
Ruifei.Yin
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.