I imagine this is about as brief as one can be.
as.character(sapply(XXX, `[`, 1))
Michael
On Tue, Jan 3, 2012 at 9:44 PM, Dan Abner wrote:
> Hello everyone,
>
> Can someone please suggest the most succinct method for extracting the
> first value from each component of a list and saving the resu
Hello everyone,
Can someone please suggest the most succinct method for extracting the
first value from each component of a list and saving the resulting vector
as a character vector?
Thank you,
Dan
[[alternative HTML version deleted]]
__
R-h
2 matches
Mail list logo