I presume you have dplyr
and plyr
loaded in the same session. dplyr
is not plyr
. ddply
is not a function in the dplyr
package.
Both dplyr
and plyr
have the functions summarise
/summarize
.
Look at the results of conflicts()
to see masked objects.
More Related Contents:
- Why does summarize or mutate not work with group_by when I load `plyr` after `dplyr`?
- How to select the rows with maximum values in each group with dplyr? [duplicate]
- How to create a lag variable within each group?
- Why are my dplyr group_by & summarize not working properly? (name-collision with plyr)
- Unique rows, considering two columns, in R, without order
- Applying a function to every row of a table using dplyr?
- dplyr summarise: Equivalent of “.drop=FALSE” to keep groups with zero length in output
- Count number of rows by group using dplyr
- How to strsplit different number of strings in certain column by do function
- Change value of variable with dplyr
- Object not found error with ddply inside a function
- R: x ‘probs’ outside [0,1]
- Run a custom function on a data frame in R, by group
- How to use data.table within functions and loops?
- how to apply a function on a data set?
- Can dplyr package be used for conditional mutating?
- dplyr: how to reference columns by column index rather than column name using mutate?
- Non-standard evaluation (NSE) in dplyr’s filter_ & pulling data from MySQL
- Can I replace NAs when joining two data frames with dplyr?
- How to compare functions?
- dplyr broadcasting single value per group in mutate
- R: Obtaining Rules from a Function
- How to deal with nonstandard column names (white space, punctuation, starts with numbers)
- dplyr if_else() vs base R ifelse()
- Using column names as function arguments
- How to change the now deprecated dplyr::funs() which includes an ifelse argument?
- Mutate multiple variable to create multiple new variables
- ddply for sum by group in R
- Dealing with spaces and “weird” characters in column names with dplyr::rename()
- Filtering rows in R unexpectedly removes NAs when using subset or dplyr::filter