R dplyr using across() efficiently with mutate() and case_when()

前端 未结 0 1750
误落风尘
误落风尘 2021-01-17 05:00

Here is data:

library(tidyverse)
set.seed(1234)
df1 <- tibble(
  S1 = rnorm(5), 
  S2 = rnorm(5), 
  S3 = rnorm(5), 
  S4 = rnorm(5), 
)

I

相关标签:
回答
  • 消灭零回复
提交回复
热议问题