MergeFill | R Documentation |
As regular merge, but combine data from columns with the same name.
MergeFill(df1, df2, by, overwrite = FALSE, ...)
df1 |
first dataframe (lowest priority if |
df2 |
second dataframe (highest priority if |
by |
columns used for merging, required. |
overwrite |
If FALSE (the default), NA's in df1 are replaced by values from df2. If TRUE, all values in df1 are overwritten by values from df2, except where df2 has NA. |
... |
additional arguments to merge, such as |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.