Java Mailing List Archive

http://www.r-help.com/

Home » R Help for Statistical Computing »

Re: [R] construct a list that consists of lists

Jim Lemon

2010-03-12

Replies: Find Java Web Hosting

Author LoginPost Reply
On 03/12/2010 05:13 PM, Zhongyi Yuan wrote:
> Dear R users:
>
> I am hoping that someone can help with constructing a list that consists of
> list with the number of lists variable.
> i.e. to find a convenient express(or loop sentences) to realize the
> following:
> list( list(para1=p1, para2=p2), list(para1=p1, para2=p2), ....,
> list(para1=p1,para2=p2) )
>
Hi Zhongyi,
Have a look at the listBuilder function in the crank package.

Jim

______________________________________________
R-help@(protected)
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.
©2008 r-help.com - Jax Systems, LLC, U.S.A.