Re: [R] ommoting rows

2012-09-18 Thread Jose Narillos de Santos
Many ThanKs, The subsecction on R is very clarifying. Sorry yesterday I was a little confused Many thanks. 2012/9/18 Ben Tupper > Hi, > > On Sep 18, 2012, at 3:25 PM, Bert Gunter wrote: > > > Please read An Introduction to R (or other R tutorial) to learn about > > indexing in R. > > > > ?"["

Re: [R] ommoting rows

2012-09-18 Thread Ben Tupper
Hi, On Sep 18, 2012, at 3:25 PM, Bert Gunter wrote: > Please read An Introduction to R (or other R tutorial) to learn about > indexing in R. > > ?"[" or ?subset also will tell you how to do it, but they are rather terse. > That's a great start, but it might be helpful to provide a bit more sp

Re: [R] ommoting rows

2012-09-18 Thread arun
14" "V" #5 "-9752" "9752" "C" A.K. - Original Message - From: Jose Narillos de Santos To: r-help Cc: Sent: Tuesday, September 18, 2012 3:08 PM Subject: [R] ommoting rows Hi I have an output data Data.csv this style: ,"V1"

Re: [R] ommoting rows

2012-09-18 Thread David Winsemius
On Sep 18, 2012, at 12:08 PM, Jose Narillos de Santos wrote: > Hi I have an output data Data.csv > > this style: > > ,"V1","V2","V3" 1,"-9552","9552","C" 2,"0","9653","0" > 3,"9614","9614","V" 4,"0","9527","0" 5,"-9752","9752","C" > 6,"0","9883","0" 7,"0","9865","0" > I want to create a ne

Re: [R] ommoting rows

2012-09-18 Thread Bert Gunter
Please read An Introduction to R (or other R tutorial) to learn about indexing in R. ?"[" or ?subset also will tell you how to do it, but they are rather terse. -- Bert On Tue, Sep 18, 2012 at 12:08 PM, Jose Narillos de Santos wrote: > Hi I have an output data Data.csv > > this style: > > ,"V1

[R] ommoting rows

2012-09-18 Thread Jose Narillos de Santos
Hi I have an output data Data.csv this style: ,"V1","V2","V3" 1,"-9552","9552","C" 2,"0","9653","0" 3,"9614","9614","V" 4,"0","9527","0" 5,"-9752","9752","C" 6,"0","9883","0" 7,"0","9865","0" I want to create a new matrix ommintg all the rows where third column has 0. There is a way to do