[R] comparision and removal

From: gynmeerut <gynmeerut_at_indiatimes.com>
Date: Thu 05 Jan 2006 - 07:16:25 EST

Dear All,

I am using R and I am putting my problem in form of an example:

I want to remove the entries which are lesser than 100(? How to compare every element with 100 and how to create subsets ) and I need two vectors y and z s.t
y<-c(entries < 100)
z<- c(remaining entries)

Moreover, Please tell me which command to use if I want to use different programs for y and z. X is the whole dataset and y,z are its disjoint subsets.


R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Jan 05 08:34:32 2006

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:41:50 EST