Yes, that's right - "summarise" works fine but "summarize" apparently takes different arguments.> g <- ddply(m, c("QGroup","Income.Group"), summarize, All = length(CountryCode)) Error: argument "by" is missing, with no default > g <- ddply(m, c("QGroup","Income.Group"), summarise, All = length(CountryCode))
No comments:
Post a Comment