Dear List:

I am having to build a block-diagonal matrix (vl) and am currently using
the following code.

I<-diag(sample.size) 
vl<-kronecker(I,vl.mat)
 

This code works fine, but for large N, it is a huge memory hog. Is there
a more efficient method for constructing vl?

Thanks,

Harold


        [[alternative HTML version deleted]]

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to