代码来源:https://aschinchon.wordpress.com/2014/05/27/how-do-cities-feel/
我试图从上面的链接执行代码,但它给了我以下错误:
df1=aggregate(cities.scores["score"], by=cities.scores[c("CITY")], FUN=length)
aggregate.data.frame(cities.scores["score"], by = cities.scores[c("CITY")],
中的错误: 没有要聚合的行