Use this tag for questions relating to functions from the dplyr package, such as group_by, summarize, filter, and select.
I have a data.frame like this - set.seed(123) df = data.frame(x=sample(0:1,10,replace=T),y=sample(0:1,10,replace=…
r dplyrQuick and short of it is I'm having problems summarizing count and aggregate functions with conditions on the same factor. …
r dplyrI have a data.frame: dat <- data.frame(fac1 = c(1, 2), fac2 = c(4, 5), fac3 = c(7, 8), dbl1 = c('1', …
r dataframe dplyrQuestion Using dplyr, how do I select the top and bottom observations/rows of grouped data in one statement? Data &…
r dplyrThis is probably simple and I feel stupid for asking. I want to change the levels of a factor in …
r dplyrI have a data frame ("data") with lots and lots of columns. Some of the columns contain a certain string ("…
r regex dplyrI'm trying to transfer my understanding of plyr into dplyr, but I can't figure out how to group by multiple …
r dplyr r-faq