I have a data frame. Let\'s call him bob:
bob
> head(bob) phenotype exclusion GSM399350 3- 4- 8- 25- 44+
New function "across" was introduced in dplyr version 1.0.0. The new function will supersede scoped variables (_if, _at, _all). Here's the official documentation
library(dplyr) bob <- bob %>% mutate(across(where(is.factor), as.character))