quosure Questions

4

Solved

With dplyr starting version 0.7 the methods ending with underscore such as summarize_ group_by_ are deprecated since we are supposed to use quosures. See: https://cran.r-project.org/web/packages/d...
Bug asked 24/10, 2017 at 19:18

5

Solved

Wanting to use dplyr and case_when to collapse a series of indicator columns into a single column. The challenge is I want to be able to collapse over an unspecified/dynamic number of columns. Con...
Collis asked 14/5, 2020 at 5:8

2

I am trying to pass on an argument to a function, which is a string but must be evaluated both for it's name (symbol?) and it's value (see example below). So far I am able to use base::get to get t...
Reins asked 13/3, 2020 at 10:27

2

Solved

I'm creating a workflow that contains the same piping steps of renaming, selecting by, then mutating all using a name I provide prior to the pipe. I have had success using enquo() and !!(bang ban...
Knob asked 7/2, 2019 at 14:34

4

Solved

I would like to create a function which can run a regression model (e.g. using lm) over different variables in a given dataset. In this function, I would specify as arguments the dataset I'm using,...
Load asked 6/1, 2019 at 11:20

2

Solved

I've been studying the "Programming with dplyr" vignette because I want to create functions that use dplyr functions. I would like to use the functions I make in both shiny applications and interac...
Saguaro asked 7/6, 2018 at 23:23

2

I am trying to use mutate to create a new column with values based on a specific column. Example final data frame (I am trying to create new_col): x = tibble(colA = c(11, 12, 13), colB = c(91, 9...
Deborahdeborath asked 15/3, 2018 at 23:41

1

Solved

I'm doing some programming using dplyr, and am curious about how to pass an expression as (specifically a MoreArgs) argument to mapply? Consider a simple function F that subsets a data.frame based...
Specialism asked 30/10, 2017 at 19:26
1

© 2022 - 2025 — McMap. All rights reserved.