Re: [R] diagonal matrices

From: Gabor Grothendieck <ggrothendieck_at_gmail.com>
Date: Sun 21 Aug 2005 - 02:28:16 EST

Have a look at adiag in the magic package.

On 8/20/05, Afshartous, David <afshart@exchange.sba.miami.edu> wrote:
>
> Hello all,
>
> I have matrices V.i of dimension n.i x n.i, where i = 1, ..., J, and the sum of n.i equals N. (and n.i ! = n.j)
>
> goal: create one large matrix V, where V has matrices V.i on diagonal.
>
> I create each matrix V.i in a for loop (1 to J), so each time I'd like to augment V with the
> most recently calculated V.i, such that I'll have V after the final iteration of the for loop.
>
> question: how to initialize V and do the augmentation. any advice much appreciated.
>
> cheers,
> dave
>
> ps - please respond directly to afshar@miami.edu, thanks!
>
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sun Aug 21 02:33:05 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:39:55 EST