Skip to content
Back to formatted view

Raw Message

Message-ID: <Pine.A41.4.44.0305160734290.116418-100000@homer38.u.washington.edu>
Date: 2003-05-16T16:38:08Z
From: Thomas Lumley
Subject: possibly bug in 'reshape' (PR#3024)
In-Reply-To: <200305161415.h4GEFj2b026950@pubhealth.ku.dk>

On Fri, 16 May 2003 wl@eimb.ru wrote:

> Dear R-tists,
>
> the source code of the 'reshape' function contains the following
>
> reshapeLong <- function(data, varying, v.names = NULL, timevar,
>        idvar, ids = 1:NROW(date), times, drop = NULL, new.row.names = NULL) {
>
> I suspect the expression
>
> ids=1:NROW(date)
>
> is erroneous.
> The 'date' variable doesn't appear anywhere else in this function.
> Maybe, 'data' ?

Yes, that looks likely.

Thanks.
	-thomas