Try this:
split(Data, 1:nrow(Data))
On Wed, May 12, 2010 at 9:13 AM, Dror wrote:
>
> Hi,
> i have the following data.frame :
>
> > Data[1:3,]
> dt amt geoTree merTree ref
> 1 0.71002484 3.334570 A2b B2b 0
> 2 0.49074936 2.544464 A2b B1a 0
> 3 0.0
Hi,
i have the following data.frame :
> Data[1:3,]
dt amt geoTree merTree ref
1 0.71002484 3.334570 A2b B2b 0
2 0.49074936 2.544464 A2b B1a 0
3 0.06223433 3.617133 A1b B2a 0
i want to convert it to a list, like this:
list(Data[1,],
2 matches
Mail list logo