I am new to R and this site, but I searched and didn\'t find the answer I was looking for.
If I have the following data set \"total\":
names <- c(\"a\