arc7nb4nbn: returns the number(s) of arcs of a /nbn/

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

arc7nb4nbnR Documentation

returns the number(s) of arcs of a /nbn/

Description

returns the arc numbers of the node of /nbn/ object.

Usage

arc7nb4nbn(nbn, each=FALSE)

Arguments

nbn

The nbn object to consider.

each

When TRUE, returns a named vector of the number of parents of each node. If not the total number of arcs.

Details

Parents associated with a zero regression coefficient are not excluded in the counting.

Value

Either a number or a named vector of numbers (names being the node names).

Examples

 arc7nb4nbn(rbmn0nbn.05);

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