[R] Recursive Indexing Failed

Patrick Breheny patrick.breheny at uky.edu
Mon May 9 15:57:10 CEST 2011


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