Re: [R] Subset a column with specific characters

2014-09-04 Thread David Winsemius
On Sep 4, 2014, at 2:58 PM, Kuma Raj wrote: > This post has NOT been accepted by the mailing list yet. Well, it has now. Were you earlier posting from Nabble? (Not an efficient strategy.) > I would like to subset a column based on the contents of a column with > specific character. In the samp

[R] Subset a column with specific characters

2014-09-04 Thread Kuma Raj
This post has NOT been accepted by the mailing list yet. I would like to subset a column based on the contents of a column with specific character. In the sample data I wish to do the following: First keep the data based on column "prog" if prog contains "ca", and secondly to drop if race contains