I have a dataframe in R as below. Is there a way to standardise the columns?
asd <- data.frame(a = c("test",
"TEST", "new comment", "new Comment"), b = c(1,2, 3, 4), c = c("test",
"TEST", "new comment", "new Comment"))
Expected out (All the words are capitalized in column a only with starting letter. Column c remains as is)
asd
a b c
1 Test 1 test
2 Test 2 TEST
3 New comment 3 new comment
4 New comment 4 new Comment