Use this tag for questions relating to functions from the dplyr package, such as group_by, summarize, filter, and select.
I have the same question as this post, but I want to use dplyr: With an R dataframe, eg: df &…
r dataframe dplyrBelow a very simple data frame example I found in the internet. Running this in RStudio on my machine turns …
r rename dplyrI tried using the code presented here to find ALL duplicated elements with dplyr like this: library(dplyr) mtcars %>% …
r dplyrI would like to replace NA values with zeros via mutate_if in dplyr. The syntax below: set.seed(1) mtcars[…
r dplyr naI have a large dataset with 22000 rows and 25 columns. I am trying to group my dataset based on one of …
r dplyrI'm trying to mutate a new variable from sort of row calculation, say rowSums as below iris %>% mutate_(sumVar = …
r dplyrI have some member order data that I would like to aggregate by week of order. This is what the …
r dplyrI'd like to use dplyr's mutate_at function to apply a function to several columns in a dataframe, where the …
r dplyrI want to make a grouped filter using dplyr, in a way that within each group only that row is …
r dplyrI have a working solution but am looking for a cleaner, more readable solution that perhaps takes advantage of some …
r dplyr tidyr