[R] need some help on r
Nicky Chorley
nick.chorley at gmail.com
Sat Aug 30 08:08:48 CEST 2008
>>Tdf
>
> bin TCC_TCA TCA_CR TCC_CR Time sn.rnc
>
> 117 117 258 27 314 (08/28/08 00:09:42) 50.21
>
> 118 118 251 30 291 (08/28/08 00:09:47) 50.21
>
> 119 119 247 28 289 (08/28/08 00:09:52) 50.21
>
> 120 120 251 29 282 (08/28/08 00:09:57) 50.21
>
> 121 121 276 39 320 (08/28/08 00:10:02) 50.21
>
> 122 1 301 38 365 (08/28/08 00:00:02) 50.20
>
> 210 2 302 39 358 (08/28/08 00:00:07) 50.20
>
> 310 3 319 43 377 (08/28/08 00:00:12) 50.20
>
> 410 4 312 37 367 (08/28/08 00:00:17) 50.20
>
> I want to retrieve 50.20 records
>
> How can I get ?
>
A quick subset appears to do what you want:
subset(Tdf, sn.rnc == 50.20)
For more info: ? subset and you may want to look at
http://www.ats.ucla.edu/stat/splus/faq/subset_R.htm.
Regards,
Nicky Chorley
More information about the R-help
mailing list