阅读背景:

为每个组设置前n行的数据框,并按变量排序

来源:互联网 

I would like to subset a data frame for n rows, which are grouped by a variable and are sorted descending by another variable. This would be clear with an example:I would like to subset a data frame for n rows,




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

分享到: