.merge_with_precedence | R Documentation |
data.frame
s, but where there are common fields
those in x
are retained and those in y
are dropped.Merge two data.frame
s, but where there are common fields
those in x
are retained and those in y
are dropped.
.merge_with_precedence(x, y, by, allow.cartesian = T, as_data_frame = T)
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.