assume, that I've a list of data frames and every data frame inside the list has the same structure:
$final01_1
k h value
85 12 h=12 0.02867449
86 11 h=23 0.02885711
87 10 h=15 0.02868290
88 9 h=14 0.02872784
89 8 h=13 0.02864886
90 7 h=19 0.02869149
. . .. .....
$final02_1
k h value
85 12 h=12 0.02013402
86 11 h=17 0.02012700
87 10 h=17 0.01972729
88 9 h=26 0.02025178
89 8 h=13 0.02035556
90 7 h=13 0.02022585
$final03_1
k h value
85 12 h=55 0.04254915
86 11 h=56 0.04283464
87 10 h=24 0.04244404
88 9 h=22 0.04239187
89 8 h=21 0.04318766
90 7 h=21 0.04510606
and so on. I want to create (in this case) 6 new data frames crated by the rows of each $final. That means the first data frame should contain all first rows of each data frame like this:
$foo
85 12 h=12 0.02867449
85 12 h=12 0.02013402
85 12 h=55 0.04254915
and this for all rows. I thinks something with lapply would be the solution, but I don't get an efficient solution.
Hope, that you can help me