R:tapply的百分位90%
我试图将分位数函数应用于我的数据(tab)的列(y) 考虑到各组(第x列):R:tapply的百分位90%,r,quantile,percentile,tapply,R,Quantile,Percentile,Tapply,我试图将分位数函数应用于我的数据(tab)的列(y) 考虑到各组(第x列): z添加一个附加参数p=0.9: tapply(tab$y, tab$x, quantile, p=0.9) 检查分位数 tapply(tab$y, tab$x, quantile, p=0.9)
z添加一个附加参数p=0.9
:
tapply(tab$y, tab$x, quantile, p=0.9)
检查分位数
tapply(tab$y, tab$x, quantile, p=0.9)