[R] removal of an element from a vector

gynmeerut gynmeerut at indiatimes.com
Wed Jan 4 10:22:30 CET 2006

Dear All,
  I have some problem in R which I'm explaining using an example:
i want to remove the elements which are lesser than 100 and as a result i want two vectors

y<-(containing elements <100)
z<-(remaining elements)

Moreover if I wish to use two different programs for vectors y and z.
which command shall I use(will IF-ELSE  work ?)

Thanks and regards,


More information about the R-help mailing list