Thank you very much all for your time. For now I am doing this with a simple for loop as some times lapply,sapply makes things more complex (or in other words I am not that experience using it).
Best REgards Alex --- On Mon, 5/9/11, Patrick Breheny <patrick.breh...@uky.edu> wrote: > From: Patrick Breheny <patrick.breh...@uky.edu> > Subject: Re: [R] Recursive Indexing Failed > To: "Duncan Murdoch" <murdoch.dun...@gmail.com> > Cc: "Alaios" <ala...@yahoo.com>, "R-help@r-project.org" <R-help@r-project.org> > Date: Monday, May 9, 2011, 2:57 PM > On 05/09/2011 09:52 AM, Duncan > Murdoch wrote: > >> In general, the expression x[[1:2]] is not > meaningful, as the elements > >> of the list may be of different type, with no way > to concatenate them. > > > > That's the wrong explanation: the expression > x[[1:2]] is meaningful, > > but it means the same thing as x[[1]][[2]], not > > c(x[[1]], x[[2]]). > > Thank you for the clarification; I stand corrected. > _______________________ > Patrick Breheny > Assistant Professor > Department of Biostatistics > Department of Statistics > University of Kentucky > ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.