rmatrix4nbn {rbmn} | R Documentation |
regression matrix of a /nbn/
Description
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.
Usage
rmatrix4nbn(nbn, stdev=TRUE)
Arguments
nbn |
The initial |
stdev |
Indicates if the standard deviations must placed in the diagonal positions. |
Value
A dimnamed matrix
Examples
rmatrix4nbn(rbmn0nbn.02);
(rmatrix4nbn(rbmn0nbn.02, FALSE)>0)*1;
[Package rbmn version 0.9-6 Index]