Re: [R] Recursive Indexing Failed

From: Alaios <alaios_at_yahoo.com>
Date: Mon, 09 May 2011 07:05:31 -0700 (PDT)


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

> From: Patrick Breheny <patrick.breheny_at_uky.edu>
> Subject: Re: [R] Recursive Indexing Failed
> To: "Duncan Murdoch" <murdoch.duncan@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
>



R-help_at_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. Received on Mon 09 May 2011 - 14:12:17 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 09 May 2011 - 14:30:06 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive