?do.call


## as in

do.call(rbind, yourlist)

Cheers,
Bert


On Tue, Sep 10, 2013 at 4:00 AM, Rosario Garcia Gil <M.Rosario.Garcia@slu.se
> wrote:

> 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]]
>
> ______________________________________________
> R-help@r-project.org 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.
>



-- 

Bert Gunter
Genentech Nonclinical Biostatistics

Internal Contact Info:
Phone: 467-7374
Website:
http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm

	[[alternative HTML version deleted]]

