rbind equivalent in revoScaleR

304 Views Asked by At

how can I concatenate two xdf, as in the rbind function ? both xdf have the same names and order of columns .

I saw there is an "append" parameter in the rxImport() function, but I don't get where to specifiy the second xdf file .

Thanks !

1

There are 1 best solutions below

3
On

There are multiple possibilities, but one good choice is to use rxMerge. The following will append rows from xdf2 to xdf1. The two input files must have the same number of columns with the same data types.

rxMerge(inData = xdf1, inData2 = xdf2, type = "union")