Displaying 1 result from an estimated 1 matches for "andromeda_maya1".
Did you mean:
andromeda_maya2
2007 Sep 05
1
writing elements in list as a data frame
Dear R-helpers,
Lists in R are stumbling block for me.
I kindly ask you to help me able to write a
data-frame.
I have a list of lists.
> sls[1:2]
$Andromeda_maya1
x y
[1,] 369 103
[2,] 382 265
[3,] 317 471
[4,] 169 465
[5,] 577 333
$Andromeda_maya2
x y
[1,] 173 507
[2,] 540 395
[3,] 268 143
[4,] 346 175
[5,] 489 91
I want to be able to write a data.frame like the
following:
X Y Name
369 103 Andromeda_maya1
382 265 Andromed...