StackOverflow Questions for Tag: mutate

jvalenti
jvalenti

Reputation: 640

R - dplyr case_when with which.max issue

Score: 0

Views: 60

Answers: 1

Read More
DOS
DOS

Reputation: 75

How to perform multiple column products in R using `mutate` and `across`?

Score: 1

Views: 30

Answers: 0

Read More
dez93_2000
dez93_2000

Reputation: 1875

Reference the current state of a piped object in R pipe subfunction

Score: 0

Views: 69

Answers: 1

Read More
NewToR
NewToR

Reputation: 13

Create a column in a dataframe based on comparisons of multiple columns in the original and a second dataframe

Score: 1

Views: 33

Answers: 1

Read More
Ronaldo Filho
Ronaldo Filho

Reputation: 31

Problem - Dynamically creating new variables from existing ones using mutate()

Score: 2

Views: 111

Answers: 3

Read More
abrar
abrar

Reputation: 135

How to create user-defined function that takes variable names as input (VAR) and returns 1 or 0 depending on whether RSE_VAR < 0.3 or unwt_denom > 50

Score: 1

Views: 62

Answers: 4

Read More
Mary Rachel
Mary Rachel

Reputation: 331

Calculating percentages across multiple columns in dplyr

Score: 2

Views: 61

Answers: 1

Read More
denis
denis

Reputation: 802

How to fill down a given text up to another given text and so on in R?

Score: 4

Views: 97

Answers: 2

Read More
abrar
abrar

Reputation: 135

Calculate svymean for variable within user-defined function called by mutate(), across(), with variable name as function parameter

Score: 1

Views: 41

Answers: 1

Read More
TarJae
TarJae

Reputation: 79184

Using .keep and .before in dplyr::mutate() While Overwriting a Column Name with the same Name

Score: 2

Views: 120

Answers: 1

Read More
Mary Rachel
Mary Rachel

Reputation: 331

Mutating to return the average of a column in each row

Score: 0

Views: 70

Answers: 1

Read More
Pipas
Pipas

Reputation: 91

Create and complete a conditional variable with existing and non-existing data

Score: -1

Views: 115

Answers: 2

Read More
dia05
dia05

Reputation: 191

Can we avoid repeating the column name each time when using it in mutates

Score: 4

Views: 112

Answers: 3

Read More
Mary Rachel
Mary Rachel

Reputation: 331

Mutate to concatenate columns that contain a specific string in their names

Score: 4

Views: 95

Answers: 4

Read More
Sharif
Sharif

Reputation: 391

Problems with mutate(), across (), and Winsorize ()

Score: 2

Views: 97

Answers: 1

Read More
Mary Rachel
Mary Rachel

Reputation: 331

Populate a blank row of data using a mutate(across(casewhen())) call to calculate values

Score: 2

Views: 91

Answers: 3

Read More
Leprechault
Leprechault

Reputation: 1823

Create a custom function to avoid extreme rate

Score: 2

Views: 72

Answers: 1

Read More
MassMover
MassMover

Reputation: 567

Swift - mutate struct after downcast

Score: 0

Views: 60

Answers: 1

Read More
camtastic
camtastic

Reputation: 61

Create column based on many columns and column labels with for loop?

Score: 3

Views: 74

Answers: 4

Read More
Mary Rachel
Mary Rachel

Reputation: 331

How to mutate all values except for a vector of selected values with case_when()

Score: 3

Views: 84

Answers: 2

Read More
PreviousPage 1Next