[R] when deleting a row from a matrix gives a vector

Thomas Lumley tlumley at u.washington.edu
Fri Nov 2 22:43:15 CET 2007


On Fri, 2 Nov 2007, Gabriel Valiente wrote:
> Is there any way to force the result to remain a matrix, even if it
> has only one row or column, or even only one entry? Thanks,
>


Yes. See the FAQ entry or the help page.

       -thomas


Thomas Lumley			Assoc. Professor, Biostatistics
tlumley at u.washington.edu	University of Washington, Seattle



More information about the R-help mailing list