Using mutate inside a function to assign a new variable
I’m trying to better understand tidy evaluation and the use of rlang
, but there’s a specific use case I can’t figure out. Let’s say I want to run a linear mixed model and save the output of one predictor that interests me. Running this code outside of a function would look like this:
Using mutate inside a function to assign a new variable
I’m trying to better understand tidy evaluation and the use of rlang
, but there’s a specific use case I can’t figure out. Let’s say I want to run a linear mixed model and save the output of one predictor that interests me. Running this code outside of a function would look like this:
Using mutate inside a function to assign a new variable
I’m trying to better understand tidy evaluation and the use of rlang
, but there’s a specific use case I can’t figure out. Let’s say I want to run a linear mixed model and save the output of one predictor that interests me. Running this code outside of a function would look like this:
Tidy evaluation when re-naming and reverse-renaming column names [closed]
Closed yesterday.
Passing a function to `across()` inside `mutate()`
Here is what I want to achieve