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

1
rmatrix4nbn(nbn, stdev=TRUE)

Arguments

nbn

The initial nbn object.

stdev

Indicates if the standard deviations must placed in the diagonal positions.

Value

A dimnamed matrix

Examples

1
2

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.