adja4nbn: adjacency matrix of a /nbn/

View source: R/f05.nbnma.code.r

adja4nbnR Documentation

adjacency matrix of a /nbn/

Description

returns a dimnamed matrix indicating with 1 an arc from row to column nodes (0 everywhere else); i.e. the adjacency matrix.

Usage

adja4nbn(nbn)

Arguments

nbn

The initial nbn object.

Value

A dimnamed matrix

Examples

 adja4nbn(rbmn0nbn.04);

rbmn documentation built on July 9, 2023, 6:37 p.m.