aggregate(x$Frequency, by=list(Category=x$Category), FUN=sum) Category x 1 First 30 2 Second 5 3 Third ... Python answers related to “group by and sum in r”.
確定! 回上一頁