Skip to content
Prev 175991 / 398503 Next

plyr and table question

baptiste auguie-2 wrote:
Try this to see why:

  as.data.frame(table(d$user_id))

This works more like you expect:

  ddply(d, .(website), transform, count = unclass(table(user_id)))  

- Tom