🌈 搜索
📅  最后修改于: 2022-03-11 14:57:40.040000             🧑  作者: Mango
df <- df %>% mutate(target_bool = case_when(salary == ">50K" ~ TRUE, salary == "<=50K" ~ FALSE))