[R] comparision and removal
ligges at statistik.uni-dortmund.de
Thu Jan 5 10:19:13 CET 2006
> 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.
Arbitrary basic documentation on R programming (e.g. the manual "An
Introduction to R") explains how to compare and how to use index
operations. Please don't ask on R-help for your homework questions, but
please read the posting guide.
> R-help at stat.math.ethz.ch mailing list
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
More information about the R-help