mergeCustom {handyFunctions} | R Documentation |
merge two data.frame based on xcol and ycol
Description
merge two data.frame based on xcol and ycol
Usage
mergeCustom(x, y, xcol, ycol)
Arguments
x |
the first data.frame |
y |
the second data.frame |
xcol |
colnames which you want to merged in first data.frame |
ycol |
colnames which you want to merged in second data.frame |
Value
return the new data.frame merged
Examples
library(handyFunctions)
data(people)
data(grade)
mergeCustom(people, grade, "..name", "name")
[Package handyFunctions version 0.1.0 Index]