Convert text into title case (first word only)

capitalize_labels(x)

Arguments

x

Input object, character, data frame, list, ggplot, etc.

Value

Returns the same class as input