Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我如何连接两个 xdf,就像在 rbind 函数中一样?两个 xdf 具有相同的名称和列顺序。
我看到 rxImport() 函数中有一个“附加”参数,但我不知道在哪里指定第二个 xdf 文件。
谢谢 !
有多种可能性,但一个不错的选择是使用rxMerge. 以下将追加行 fromxdf2到xdf1。两个输入文件必须具有相同数量的具有相同数据类型的列。
rxMerge
xdf2
xdf1
rxMerge(inData = xdf1, inData2 = xdf2, type = "union")