Use this tag for questions relating to functions from the dplyr package, such as group_by, summarize, filter, and select.
If I have a large DF (hundreds and hundreds) columns with different col_names randomly distributed alphabetically: df.x <…
r dataframe dplyrHow can I use the pipe operator to pipe into replacement function like colnames()<- ? Here's what I'm trying …
r dplyr magrittrI'm trying to figure out a simple way to do something like this with dplyr (data set = dat, variable = x): …
r dplyrI have the following data.frame df = structure(list(HEADER = c("HOME_TRPM", "AWAY_TRPM", "HOME_TEAM","AWAY_TEAM"), price = …
r dplyr transposeI have a dataframe with a column of strings and want to extract substrings of those into a new column. …
r dplyr strsplitUsing dplyr, you can do something like this: iris %>% head %>% mutate(sum=Sepal.Length + Sepal.Width) Sepal.Length …
r dplyrWith arrange function in dplyr, we can arrange row in ascending or descending order. Wonder how to arrange rows in …
r dplyr data-manipulationdf <- structure(list(`a a` = 1:3, `a b` = 2:4), .Names = c("a a", "a b" ), row.names = c(NA, -3…
r dataframe dplyr