Re: [R] list subsets passing parameters question.

2003-09-19 Thread Thomas W Blackwell
Eryk - Question 1: Square brackets work, just the same as for vectors, and return a (smaller or larger) list object. The new thing with lists, not available (or needed) with vectors, is double square brackets, which return one list element as itself, not enclosed in a list. See

Re: [R] list subsets passing parameters question.

2003-09-19 Thread Thomas Lumley
On Fri, 19 Sep 2003, Wolski wrote: The second problem i have are that i want to store parmeters to the plot.default function in a list. eg.: pars-list(xlim=c(0,100),xlab=irrelevant , ylab=incredible important). and call the plot.default function with this list as parameters. I know that