阅读背景:

R reshape2中的cast()调用的自定义聚合函数出错

来源:互联网 

I want to use R to summarize numerical data in a table with non-unique rownames to a result table with unique row-names with values summarized using a custom function. The summarization logic is: use the mean of values if the ratio of the maximum to the minimum value is < 1.5, else use median. Because the table is very large, I am trying to use the melt() and cast() functions in the I want to use R to summarize numerical data in




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

分享到: