<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Dear R users,
<p>Suppose i have an A square matrix rxr. I want to obtain a block matrix
B (pxr,pxr) where
<br>the p diagonal blocks are A and the others values are 0.
<br>I would like to do something like : diag(A,ncol=pr, nrow=pr)
<br>How can i do it ??
<br>Thanks in advance,
<br>Olivier.
<pre>--
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
Olivier MARTIN
PhD student phone: (33) 04 76 61 53 55
Projet IS2 06 08 67 93 42
INRIA Rhone-Alpes fax : (33) 04 76 61 54 77
655, Av. de l'Europe
Montbonnot e-mail:olivier.martin@inrialpes.fr
38334 Saint Ismier cedex
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-</pre>
</html>