I have a vector which consists of a list of strings, which are the combinations of first name and initials, I want to get rid of the initials
tried sub() and strsplit() but didn't work
name <- data.frame(c("Jones B", "Mike M", "Goods R.I"))
"Jones" "Mike" "Goods"