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