Learn R Programming

rbmn (version 0.9-6)

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

Value

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

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.

Examples

Run this code
 arc7nb4nbn(rbmn0nbn.05);

Run the code above in your browser using DataLab