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.

Reply via email to