Top "Tidyverse" questions

DO NOT USE if your question relates to one or two components of the tidyverse, such as dplyr or ggplot2.

Add row in each group using dplyr and add_row()

If I add a new row to the ìris dataset with: iris <- as_tibble(iris) > iris %>% …

r dplyr tidyverse
Applying group_by and summarise(sum) but keep columns with non-relevant conflicting data?

My question is very similar to Applying group_by and summarise on data while keeping all the columns' info but …

r group-by tidyverse mutate summarize
dplyr::filter "No tidyselect variables were registered"

I am trying to filter specific rows of my tibble using the dplyr::filter() function. Here is part of my …

r regex dplyr tidyverse tidyselect
How to use recode_factor in dplyr for recoding multiple factor values?

countrycode event 1713 ESP 110mh 1009 NED HJ 536 BLR LJ 2882 FRA 1500m 509 EST LJ 2449 BEL PV 1022 EST HJ 2530 USA JT 2714 CUB JT 1236 …

r dplyr tidyverse recode
Conditional replacement of column name in tibble using dplyr

I have the following tibble: df <- structure(list(gene_symbol = c("0610005C13Rik", "0610007P14Rik", "0610009B22Rik", "0610009L18…

r dplyr tidyverse
How to install Tidyverse on Ubuntu 16.04 and 17.04

I'm running Ubuntu 16.04 [now 17.04: see note in bold below] and R 3.4.1. I installed the latter this morning, so I presume …

r tidyverse
R purrr:::pmap: how to refer to input arguments by name?

I am using R purrr:::pmap with three inputs. It is not clear how I can refer explicitly to these …

r purrr tidyverse
Numbers of columns of arguments do not match

I am using this example to conduct sentiment analysis of a collection of txt documents in R. The code is: …

r tidyverse sentiment-analysis tidytext
Mutate multiple variable to create multiple new variables

Let's say I have a tibble where I need to take multiple variables and mutate them into new multiple new …

r dplyr tidyverse tidyselect
How to rename a column to a variable name "in a tidyverse way"

I've created a simple data frame (dput below): date ticker value ------------------------------ 2016-06-30 A2M.ASX 0.0686 2016-07-29 A2…

r dplyr tidyverse