Snake-case names are great for coding but look terrible in tables and plots. Use this function to turn the WSDL, Shannon and Simpson snake-case index labels into Title Case Versions of themselves.
clean_index_factors(x, newline = FALSE)
x | a character vector of snake-case WSDL, Simpson and Shannon
index names (i.e. that came from a call to |
---|---|
newline | if |