Hello
I have done resampling from a matrix data with two variables (A,B). After
resampling a get a set of lists (see below example for resample size 2). In
both lists I have the same two variables (A,B).
I want to export this data to an excel file where I have only two columns, one
per variable. Thus, stack the data for variable A in a single column and the
same for variable B.
I have tried to first merge in a data.frame but that just add generates four
columns. If any one could help I appreciate. Thanks in advance.
[[1]]
A B
5 257 259
10 257 259
10.1 257 259
4 257 259
9 257 259
2 257 259
8 257 259
1 257 259
8.1 257 259
8.2 257 259
7 255 257
[[2]]
A B
11 258 260
4 257 259
9 257 259
6 257 259
1 257 259
5 257 259
3 257 259
3.1 257 259
11.1 258 260
4.1 257 259
1.1 257 259
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.