join | R Documentation |
This function merges several data frames at once
join(..., by, all = FALSE, all.x = all, all.y = all, sort = TRUE)
... |
data frames, or objects to be coerced to one. |
by |
specifications of the columns used for merging. |
all |
logical; all = L is shorthand for all.x = L and all.y = L, where L is either TRUE or FALSE. |
all.x |
logical; if TRUE, then extra rows will be added to the output, one for each row in x that has no matching row in y. These rows will have NAs in those columns that are usually filled with values from y. The default is FALSE, so that only rows with data from both x and y are included in the output. |
all.y |
logical; analogous to all.x. |
sort |
logical. Should the result be sorted on the by columns? |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.