[R] combining two list objects

hadley wickham h.wickham at gmail.com
Fri Dec 9 18:00:25 CET 2005


> Each element of list1 is a list with components: model, pcorrect
> Each element of list2 has a single unnamed numeric value
>
> What I would like to do is to be able to combine list1 and list2 to give
> list3 such that

mapply(c, list1, list2, SIMPLIFY=F)  should get you started.

Hadley




More information about the R-help mailing list