Use this tag for questions relating to functions from the dplyr package, such as group_by, summarize, filter, and select.
I'll illustrate my question with an example. Sample data: df <- data.frame(ID = c(1, 1, 2, 2, 3, 5), A = c("foo", "bar", "…
r dplyr sqldfI have a data frame that looks like this: #df ID DRUG FED AUC0t Tmax Cmax 1 1 0 100 5 20 2 1 1 200 6 25 3 0 1 NA 2 30 4 0 0 150 6 65 Ans so …
r plyr dplyr shadowing name-collisionI have a data.table: set.seed(1) data <- data.table(time = c(1:3, 1:4), groups = c(rep(c("b", "a"), …
r data.table plyr dplyrI wish to (1) group data by one variable (State), (2) within each group find the row of minimum value of another …
r dplyr data.table aggregateHow do I join multiple dataframes in R using dplyr ? new <- left_join(x,y, by = "Flag") this …
r dplyrI am attempting to reproduce one of the examples in the dplyr package but am getting this error message. I …
r function plyr dplyr conflicting-librariesIs there a way to instruct dplyr to use summarise_each with na.rm=TRUE? I would like to take …
r dplyr