"Michael Kirschbaum" <[EMAIL PROTECTED]> writes:

> 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"?)

Sounds like you want

lapply(mlist, "[", i = 1, j = 1)

where mlist is your list of matrices.

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to