Re: [R] combining two list objects

From: hadley wickham <h.wickham_at_gmail.com>
Date: Sat 10 Dec 2005 - 04:00:25 EST

> 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



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sat Dec 10 04:06:32 2005

This archive was generated by hypermail 2.1.8 : Sat 10 Dec 2005 - 09:31:55 EST