[R] construct a list that consists of lists
Jim Lemon
jim at bitwrit.com.au
Fri Mar 12 10:06:06 CET 2010
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
More information about the R-help
mailing list