Re: [R] matrix selection return types

From: <>
Date: Fri 16 Jun 2006 - 23:07:07 EST

jim holtman a écrit :

> > z1 <- m[m[,1] == 2,, drop=FALSE]
> What is the problem you are trying to solve?

It was not really a big problem.
Just that without the "drop" argument,
The changing returned type complicated
the next computations.
drop=TRUE makes it homogeneous, which is what I needed.

Thanks for your answer. mailing list PLEASE do read the posting guide! Received on Fri Jun 16 23:09:21 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Sat 17 Jun 2006 - 00:11:39 EST.

Mailing list information is available at Please read the posting guide before posting to the list.