Re: [R] strange list structure question

2008-11-03 Thread Deepayan Sarkar
On 11/3/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > my problem is more complex than below but I think below can suffice. i have > a list and the name of it at the top level is GGG. so, if i do an lapply > and operate on lower components in the sublist, then I can do as shown in > EXAMPLE 1

Re: [R] strange list structure question

2008-11-03 Thread Charles C. Berry
On Mon, 3 Nov 2008, [EMAIL PROTECTED] wrote: Hi Rolf: it's not what's inside the lapplys that i was interested in which probably made my question more confusing. all i was trying to show was that, in EXAMPLE 1, the name comes back at the top level of the result. in EXAMPLE 2, i can use the n

Re: [R] strange list structure question

2008-11-03 Thread markleeds
Hi Rolf: it's not what's inside the lapplys that i was interested in which probably made my question more confusing. all i was trying to show was that, in EXAMPLE 1, the name comes back at the top level of the result. in EXAMPLE 2, i can use the name GGG inside the lapply functon to do whate

[R] strange list structure question

2008-11-03 Thread markleeds
my problem is more complex than below but I think below can suffice. i have a list and the name of it at the top level is GGG. so, if i do an lapply and operate on lower components in the sublist, then I can do as shown in EXAMPLE 1 and what will come back will be named GGG at the top level.