ddply function not found

Hi,
I'm unable to use the ddply function.

Here's what I tried:
install.packages("dplyr")
install.packages("reshape")
library(dplyr)
library(reshape)

test<- ddply(A, .(NUM), summarize, age= min(age), gender=max(gender)
)

I am getting this message:
Error in test<- ddply(A, .(NUM), summarize, age= min(age), gender=max(gender)
): could not find function "ddply"

Thanks

ddply() is from the plyr package.

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.