Description Usage Arguments Value See Also Examples
Merge two data.frame
s, but where there are common fields
those in x
are retained and those in y
are dropped.
1 | merge_with_precedence(x, y, by, allow.cartesian = TRUE, as_data_frame = TRUE)
|
x |
the |
y |
another |
by |
a vector of column names to merge on |
allow.cartesian |
boolean indicating whether it's ok for repeated values in either table to merge with each other over and over again. |
as_data_frame |
boolean indicating whether to ensure
the returned object is a |
a data.frame
or data.table
object
data.table::merge
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.