Learn R Programming

rbmn (version 0.9-6)

rmatrix4nbn: 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)

Value

A dimnamed matrix

Arguments

nbn

The initial nbn object.

stdev

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

Examples

Run this code
 rmatrix4nbn(rbmn0nbn.02);
 (rmatrix4nbn(rbmn0nbn.02, FALSE)>0)*1;

Run the code above in your browser using DataLab