I use grepl inside a mutate case_when a lot.
I almost always use the argument ignore.case=T to select both upper and lower case.
Ie grepl("excele",kind,ignore.case = T)==T~"Excelerate", T ~ "something else"
Is it possible to add the ignore.case argument to the grepl function ?
I use grepl inside a mutate case_when a lot. I almost always use the argument ignore.case=T to select both upper and lower case. Ie grepl("excele",kind,ignore.case = T)==T~"Excelerate", T ~ "something else"
Is it possible to add the ignore.case argument to the grepl function ?
Thanks.