When I go ?reshape I get told, amongst other things

new.row.names
logical; if TRUE and direction = "wide", create new row names in long format from the values of the id and time variables.

This seems to me to be illogical, surely it should read direction = "long"?

Reading the code and observing its behaviour I find that (a) the default for new.row.names is in fact NULL (b) the default seems to give the behaviour described above for TRUE (c) it is tested in the code only as if(is.null(new.row.names)) or if(!is.null(new.row.names))

Note I am not complaining about the behaviour, it does what I would want and what seems to me to be the natural thing but I do not think it is quite as documented.

R version 2.15.2 (2012-10-26)
Platform: i386-w64-mingw32/i386 (32-bit)



Michael Dewey
i...@aghmed.fsnet.co.uk
http://www.aghmed.fsnet.co.uk/home.html

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to