[Rd] possibly bug in 'reshape' (PR#3024)
Thomas Lumley
tlumley at u.washington.edu
Fri May 16 08:34:48 MEST 2003
On Fri, 16 May 2003 wl at 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
More information about the R-devel
mailing list