[R] removing entries from a character vector

thok12 tk9830 at gmail.com
Tue Jul 21 22:00:37 CEST 2015


ok this is a textbook question but i feel kind of lost so any help would be
appreciated.

I have a character vector with couple of hundreds of observations

about 60 of them are in the following fashion
"total June15"
"total July 15"
"total July 17"
etc.

now I want to remove these entries but not one by one.
I want to write some code that will remove all the entries with the
word/string "total" in them.
I tried few things but with no success.

thanks in advance




--
View this message in context: http://r.789695.n4.nabble.com/removing-entries-from-a-character-vector-tp4710165.html
Sent from the R help mailing list archive at Nabble.com.
	[[alternative HTML version deleted]]



More information about the R-help mailing list