[R] assigning two conditions to grep()
Abi Ghanem josephine
josephine.abighanem at ibpc.fr
Wed Apr 25 16:31:32 CEST 2007
janek0 wrote:
>Dnia 25-04-2007, śro o godzinie 15:04 +0200, Abi Ghanem josephine
>napisał(a):
>
>use "data[grep("^24|N7", data$V2)]"
>and see ?regexp
>
>
thanks for replying
but actually my problem is that the column containing 23 is in data$V2
and the one containing N7 is in data$V3,
so the line doen't work i just have all the line containing G23 N7 and
G23 O6
and i want to separate the two.
josephine
More information about the R-help
mailing list