library(tidyverse) df$column <- df$column str_to_title(df$column) #Standardize caps #Two options df$column <- str_replace(df$column, "old", "new") #Option 1, uses str_replace df$column <- gsub("old", "new", df$column) #Option 2, uses str_replace
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter