RE: [R] how to delete a matrix column

2004-03-03 Thread Simon Fear
have subsequently realised that I haven't the faintest idea how to even start doing that. > -Original Message- > From: Prof Brian Ripley [mailto:[EMAIL PROTECTED] > Sent: 02 March 2004 19:22 > To: Rolf Turner > Cc: [EMAIL PROTECTED] > Subject: Re: [R] how to delete a matr

Re: [R] how to delete a matrix column

2004-03-02 Thread Prof Brian Ripley
On Tue, 2 Mar 2004, Rolf Turner wrote: > Aimin Yan wrote: > > > I am new to R, How to delete a matrix column. > > e.g. y <- x[,-5] deletes column 5 > > I was going to point out to the inquirer where this feature > is documented --- but I can't bleedin' find it!!! > > Can anyone tell me? I tri

Re: [R] how to delete a matrix column

2004-03-02 Thread Rolf Turner
Aimin Yan wrote: > I am new to R, How to delete a matrix column. e.g. y <- x[,-5] deletes column 5 I was going to point out to the inquirer where this feature is documented --- but I can't bleedin' find it!!! Can anyone tell me? I tried ?"[" but got no joy that I could discern.

RE: [R] how to delete a matrix column

2004-03-02 Thread Harold Doran
You can use dataset$columnname=NULL HCD -- Harold C. Doran Director of Research and Evaluation New American Schools 675 N. Washington Street, Suite 220 Alexandria, Virginia 22314 703.647.1628 -Original Message- From: Aimin Yan [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 02