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