Capitalize all names for a dataframe

capitalize_names(df)

Arguments

df

data frame to capitalize names

Details

This is a simple wrapper function to reduce typing and more easily pass data as it is read from a file

Examples

names(Theoph)
#> [1] "Subject" "Wt"      "Dose"    "Time"    "conc"   

cTheoph <- capitalize_names(Theoph)
names(cTheoph)
#> [1] "SUBJECT" "WT"      "DOSE"    "TIME"    "CONC"