Re: [R] data frame excerption

From: Ales Ziberna <ales.ziberna_at_guest.arnes.si>
Date: Sat 12 Mar 2005 - 23:55:16 EST

Yes it is!

you should write:

q1 <- q[q$V3<1,]

Since the data.frame has two indices, the first one indicating rows, which is what you need!

Regards,
Ales Ziberna

> Hello,
>
> is't possible to get excerptions of data frame using some contstraints,
> something like q1 = q[q$V3<1] ?
>
> Regards,
> Oleg
> _____________________________________________________________
> Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
> Sternberg Astronomical Institute, Moscow University (Russia)
> Internet: oleg_at_sai.msu.su, http://www.sai.msu.su/~megera/
> phone: +007(095)939-16-83, +007(095)939-23-83
>
> ______________________________________________
> 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
>
>



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 Mon Mar 14 10:32:48 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:30:46 EST