Re: [R] How to add obj to a list?

2007-02-15 Thread Wensui Liu
a = 1:2 b = 1:3 yours = list() yours[[1]] = a yours[[2]] = b On 2/15/07, Perez Alvarez, Susana <[EMAIL PROTECTED]> wrote: > Hello everybody! > > I'm quite new using R and i'm trying to develope a function, but i have > a problem. > What i want to build is something like an objects vector. I have a

Re: [R] How to add obj to a list?

2007-02-15 Thread Sarah Goslee
The Introduction to R, available thru the documentation link at www.r-project.org has some nice material on creating and modifying lists that should answer your question. Sarah On 2/15/07, Perez Alvarez, Susana <[EMAIL PROTECTED]> wrote: > Hello everybody! > > I'm quite new using R and i'm trying

[R] How to add obj to a list?

2007-02-15 Thread Perez Alvarez, Susana
Hello everybody! I'm quite new using R and i'm trying to develope a function, but i have a problem. What i want to build is something like an objects vector. I have a list with two tables, and after or next to them, I want to add more tables or vectors to that list one by one. But i cannot find