remove_x.Rd
A convenience function to remove a leading capital X. Is case sensitive.
remove_x(x)
character or string.
character
string
Returns character or string with leading X removed.
df <- data.frame('X1'=c(1,2)) remove_x(colnames(df)) #> [1] "1"