How to replace values in differents columns with values in another column? (R)

前端 未结 0 554
暖寄归人
暖寄归人 2021-02-06 04:59

library(tidyverse)

reprex for you to reproduce:

library(tidyverse)

tibble(
  x1 = c(1, 2, NA, NA, 5),
  y1 = c(4, 3, NA, NA, 7),
  x2 = c(NA, NA, 6, 7, NA         


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