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 tried ?"[" but got no joy that
> I could discern.

`An Introduction to R', for one.

The help page for "[" is long enough, but needs to be split/have some 
xrefs added for things like this.

-- 
Brian D. Ripley,                  [EMAIL PROTECTED]
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to