Smerge | R Documentation |
Merges two data frame in a simple and safe way. The result will have all the rows from the first data frame exactly in the same order. The new rows from the second data frame are added to the end.
Smerge(x, y, by, finally = data.frame, unrowname = TRUE, ...)
x |
a data frame |
y |
a data frame |
by |
character: name of the variable to be used for merging |
finally |
function to be applied to the two data frames after they're made to match |
unrowname |
logical: delete row names? |
... |
parameters to be passed to 'finally' |
the 2 data frames made to match row by row, combined as specified by 'finally'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.