dataMerge | R Documentation |
This is a legacy alias for the 'meld' function to maintain compatibility with older code.
dataMerge(
...,
by = NULL,
all = TRUE,
no.dups = FALSE,
csv = FALSE,
rdata = FALSE,
spss = FALSE
)
... |
Clean data frames to be merged. |
by |
A vector of strings specifying the column names to be used as merge keys. If NULL, the function automatically determines common keys from the provided data frames. |
all |
Logical; if TRUE, performs an OUTER JOIN. If FALSE, performs an INNER JOIN. |
no.dups |
Logical; if TRUE, duplicates are removed post-merge. |
csv |
Logical; if TRUE, the merged data frame is exported as a CSV file. |
rdata |
Logical; if TRUE, the merged data frame is saved as an Rda file. |
spss |
Logical; if TRUE, the merged data frame is exported as an SPSS file. |
A merged data frame based on the specified or common candidate keys.
## Not run:
merged <- dataMerge(df1_clean, df2_clean)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.