[R] sorting of data

From: Bill Hunsicker <BHunsicker_at_rfmd.com>
Date: Thu 27 Oct 2005 - 13:43:07 EST


R-Help,  

I am trying to reduce at data set to rows where a specified value occurs in a specified value. Below is a screen capture of Rgui:  

> nsmalldata <-read.csv("c:\\DATA\\UNITY\\\PASS0_DOWNFADE\\nsmall.csv")

> nsmalldata

   BOARDNUMBER SESSIONID MATRIXID ARRAYPOINT Temperature PS1 PS2 PS13 PS14 PS15

1 LB0DC 3043 7757513 1 -9999 -9999 -9999 3.6 5 -5

2 LB0DC 3043 7757515 1 -9999 -9999 -9999 3.6 5 -5

3 LB0DC 3043 7757517 1 -9999 -9999 -9999 3.6 5 -5

4 LB0DC 3043 7757520 1 -9999 -9999 -9999 3.6 5 -5

5 LB0DC 3043 7757522 1 -9999 -9999 -9999 3.6 5 -5

6 LB0DC 3043 7757524 1 -9999 -9999 -9999 3.6 5 -5

7 LB0DC 3043 7757526 1 -9999 -9999 -9999 3.6 5 -5

8 LB0DC 3043 7757528 1 -9999 -9999 -9999 3.6 5 -5

9 LB0DC 3043 7757531 1 -9999 -9999 -9999 3.6 5 -5

10 LB0DC 3043 7757533 1 -9999 -9999 -9999 3.6 5 -5

11 LB0DC 3043 7757535 1 -9999 -9999 -9999 3.6 5 -5

12 LB0DC 3043 7757537 1 -9999 -9999 -9999 3.6 5 -5

13 LB0DC 3043 7757540 1 -9999 -9999 -9999 3.6 5 -5

14 LB0DC 3043 7757542 1 -9999 -9999 -9999 3.6 5 -5

15 LB0DC 3043 7757544 1 -9999 -9999 -9999 3.6 5 -5

16 LB0DC 3043 7757547 1 -9999 -9999 -9999 3.6 5 -5

17 LB0DC 3043 7757549 1 -9999 -9999 -9999 3.6 5 -5

18 LB0DC 3043 7757551 1 -9999 -9999 -9999 3.6 5 -5

19 LB0DC 3043 7757554 1 -9999 -9999 -9999 3.6 5 -5

20 LB0DC 3043 7757556 1 -9999 -9999 -9999 3.6 5 -5

>
 

For Example

I would like to reduce nsmalldata to only the rows where SESSIONID==7757513 I have spent quite a bit of time with R manuals and still have not gotten there, can you help me?  

Thanks in advance.  

Regards,

Bill  

Bill Hunsicker

RF Micro Devices

7625 Thorndike Road

Greensboro, NC 27409

336-678-5260(W)

610-579-9985(M)  

        [[alternative HTML version deleted]]



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 Oct 27 13:48:09 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:40:47 EST