[R] Recursive Indexing Failed
Alaios
alaios at yahoo.com
Mon May 9 16:05:31 CEST 2011
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.breheny at uky.edu> wrote:
> From: Patrick Breheny <patrick.breheny at uky.edu>
> Subject: Re: [R] Recursive Indexing Failed
> To: "Duncan Murdoch" <murdoch.duncan at gmail.com>
> Cc: "Alaios" <alaios at yahoo.com>, "R-help at r-project.org" <R-help at 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
>
More information about the R-help
mailing list