R: How to create a proportion table using the aggregate function?

前端 未结 0 784
感动是毒
感动是毒 2020-11-21 05:46

I have this line of code, but do not know the command under the FUN parameter to create the table proportions:

list(aggregate(df[,xx], by=list(df[,yy]), FUN=p         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题