Ok, I studied the source code of melt.data.frame. With na.rm=T melt
operates normally except that it deletes rows from the molten
data.frame that have NAs in the value column. NAs in the id.vars are
not touched. This could be clearer in the documentation especially as
it seems that earlier versi
On Sat, Feb 6, 2010 at 8:23 PM, hadley wickham wrote:
> The latest version of reshape is 0.8.3 - perhaps upgrading will fix
> your problem.
Thanks for your response, Hadley!
I just did the upgrade on the Linux system. On OSX I was already at
0.8.3. Now, I get the same result on both systems.
Hi Titus,
The latest version of reshape is 0.8.3 - perhaps upgrading will fix
your problem.
Hadley
On Sat, Feb 6, 2010 at 4:51 AM, Titus von der Malsburg
wrote:
> Hi list,
>
> I run R on Linux and OSX. On both systems I use R version 2.9.2 (2009-08-24)
> and reshape version: 0.8.2 (2008-11-04)
Hi list,
I run R on Linux and OSX. On both systems I use R version 2.9.2 (2009-08-24)
and reshape version: 0.8.2 (2008-11-04). When I do a melt with
na.rm=T on a data frame I get different results on these systems:
library(reshape)
x <- read.table(textConnection("char trial wn
p E10I13D0 4
r
4 matches
Mail list logo