RE: [R] Processing List-elements

2003-07-14 Thread Liaw, Andy
If the list components are vectors, you can do something like: mylist2 <- lapply(mylist, function(x) x[-1]) Andy > -Original Message- > From: Michael Kirschbaum [mailto:[EMAIL PROTECTED] > Sent: Monday, July 14, 2003 10:15 AM > To: [EMAIL PROTECTED] > Subject: [

[R] Processing List-elements

2003-07-14 Thread Michael Kirschbaum
Hello. I got a problem with processing a list: How can I kill the first row of each element of a list, without using a loop? Is there a function that processes each element of a list in a way I can choose? thank you for answering... [[alternative HTML version deleted]] ___