0

我知道如何在 dplyr 中这样做:

test <- df %>% mutate(col = ifelse(col == 0,NA,col)

我如何使用 base r 执行此操作?

4

0 回答 0