merge
does for data.frame
s, this function
takes two datasets, matches rows based on a specified key variable, and
adds columns from one to the other.
extendDataset(x, y, by.x, by.y, all = FALSE, all.x = TRUE, all.y = FALSE, ...)
"merge"(x, y, by.x, by.y, all = FALSE, all.x = TRUE, all.y = FALSE, ...)
x
on which to join. Must have all
unique, non-missing values.y
on which to join. Must have all
unique, non-missing values.FALSE
is currently supported.TRUE
is currently supported.FALSE
is currently supported.x
extended by the columns of y
, matched on the "by"
variables.