From tlumley at u.washington.edu  Tue Aug 12 17:54:52 2003
From: tlumley at u.washington.edu (Thomas Lumley)
Date: Wed Aug 13 01:55:29 2003
Subject: [Rd] rowsum() may return a vector instead of a matrix (PR#3737)
In-Reply-To: <200308122205.h7CM5sJH026811@pubhealth.ku.dk>
Message-ID: <Pine.A41.4.44.0308121653290.63600-100000@homer40.u.washington.edu>

On Wed, 13 Aug 2003 brahm@alum.mit.edu wrote:

> If all rows are in the same "group", rowsum() returns a vector instead of a
> (1xN) matrix, contrary to documentation:
>

Yes, and it appears to be deliberate since rowsum.default() ends with
drop(rval), though I don't remember why it was this way.

Is there a strong preference for changing the function vs changing the
documentation?

	-thomas


[Rd] rowsum() may return a vector instead of a matrix (PR#3737)
Thomas Lumley