[R] turning list-elements into a vector
spencer.graves at pdf.com
Wed Jul 16 16:50:30 CEST 2003
Have you considere "unlist"? Also, note that a matrix is a vector with
a dim attribute, and a data.frame is actually a list with some other
hope this helps.
Michael Kirschbaum wrote:
> Can anyone help me?
> I want to create a vector from specific matrix-elements( e.g.[1,1]) these matrices are elements of a list.
> Is there any possibility to work without a loop? (e.g. with "lapply"?)
> hope, you can help me
> thank you
> [[alternative HTML version deleted]]
> R-help at stat.math.ethz.ch mailing list
More information about the R-help