View source: R/f04.nbneq.code.r
rmatrix4nbn | R Documentation |
returns a dimnamed matrix indicating with rho
an arc from row
to column nodes (0 everywhere else) where rho
is the
regression coefficient. Also conditional standard deviations can be
introduced as diagonal elements but mu
coefficient are lost...
It is advisable to normalize the /nbn/ first.
rmatrix4nbn(nbn, stdev=TRUE)
nbn |
The initial |
stdev |
Indicates if the standard deviations must placed in the diagonal positions. |
A dimnamed matrix
rmatrix4nbn(rbmn0nbn.02);
(rmatrix4nbn(rbmn0nbn.02, FALSE)>0)*1;
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.