--
From: Jim Lemon
To: Troels Ring
Cc: r-help@r-project.org
Sent: Tuesday, January 22, 2013 4:46 AM
Subject: Re: [R] simple reshape
On 01/22/2013 07:19 PM, Troels Ring wrote:
> Dear friends - this is a very simple question - I have a data frame
> 'data.frame': 87 obs. of 3 variab
On 01/22/2013 07:19 PM, Troels Ring wrote:
Dear friends - this is a very simple question - I have a data frame
'data.frame': 87 obs. of 3 variables:
$ ID : int 1 1 1 2 2 2 3 3 3 4 ...
$ prep : num 1.18 1.38 1.34 1.93 2.38 2.24 1.17 1.13 1.21 1.89 ...
$ postp: num 0.63 0.71 0.75 1.01 1.12 1.07 0.8
Dear friends - this is a very simple question - I have a data frame
'data.frame': 87 obs. of 3 variables:
$ ID : int 1 1 1 2 2 2 3 3 3 4 ...
$ prep : num 1.18 1.38 1.34 1.93 2.38 2.24 1.17 1.13 1.21 1.89 ...
$ postp: num 0.63 0.71 0.75 1.01 1.12 1.07 0.87 0.64 0.7 0.8 ...
- 29 persons
A.K.
- Original Message -
From: Ista Zahn
To: jose Bartolomei
Cc: R Help
Sent: Tuesday, July 24, 2012 1:56 PM
Subject: Re: [R] Simple reshape problem I am completely missing
The data is already in a "long" form, it doesn't require melting. The
problem was simply that
42 15.31574 14.34785
2 X2 14.50404 14.69673 13.73331
A.K.
- Original Message -
From: John Kane
To: r-help@r-project.org
Cc:
Sent: Tuesday, July 24, 2012 1:17 PM
Subject: [R] Simple reshape problem I am completely missing
I seem to be doing something really stupid or missing some
..@inbox.com
> Subject: Re: [R] Simple reshape problem I am completely missing
>
> HI,
>
> I think your group and tps variables have a lot of levels, so the
> combinations which are not there might end up as NA.
>
>
> Try this:
> md4<-data.frame(group=c(rep(&quo
Tue, Jul 24, 2012 at 1:23 PM, jose Bartolomei wrote:
>
> Did you melt first?
>
> library(reshape2)
> ?melt
>
>> Date: Tue, 24 Jul 2012 09:17:08 -0800
>> From: jrkrid...@inbox.com
>> To: r-help@r-project.org
>> Subject: [R] Simple reshape problem I am c
Did you melt first?
library(reshape2)
?melt
> Date: Tue, 24 Jul 2012 09:17:08 -0800
> From: jrkrid...@inbox.com
> To: r-help@r-project.org
> Subject: [R] Simple reshape problem I am completely missing
>
> I seem to be doing something really stupid or missing something real
I seem to be doing something really stupid or missing something really obvious
but what?
I have a simple three column data.frame that I would like to reshape to wide
preferably using reshape2.
An example from
http://stackoverflow.com/questions/9617348/reshape-three-column-data-frame-to-matrix
Hello everyone,
I'm having a problem performing reshape() on a large data frame. The
operation is fairly trivial but it makes R run out of memory.
The data frame has the following structure:
ID DATE1 DATE2VALTYPE
VALUE
'abcd1233' 2009-11-12
10 matches
Mail list logo