Hi
>
> I realize that this is terribly basic, but I just don't seem to see it
at
> this moment, so I would very much appreciate your help.
>
>
> How shall I transform this dataframe:
>
> > df1
> Name Index Value
> 1a 1 0.1
> 2a 2 0.2
> 3a 3 0.3
> 4a 4
df2<-melt(df1)
df3<-cast(df2,Index~Name)
df3
HTH,
Daniel
Dana Sevak wrote:
>
> I realize that this is terribly basic, but I just don't seem to see it at
> this moment, so I would very much appreciate your help.
>
>
> How shall I transform this dataframe:
>
>> df1
> Name Index Value
> 1
2 matches
Mail list logo