阅读背景:

粘贴两个数据框的列

来源:互联网 

I find myself wanting to sometimes paste together columns from different dataframes (tables, matrices or whatever). For example I have a table of means and a table of stan devs. I want the two pasted together with the sd in a set of parentheses for latex printing. I suspect there's a friendly plyr solution but can't think of how to work on two data frames ( I attempted storing the dataframes as a list and using ldply but this was my first attempt with a list plyr function and it went down in flames.I find myself wanting to sometimes paste togeth




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: