print8nbn: print function for a /nbn/ object.

View source: R/f03.nbnmi.code.r

print8nbnR Documentation

print function for a /nbn/ object.

Description

prints a /nbn/ object.

Usage

print8nbn(nbn, what="pr", digits=3, ordering=NULL, chk=TRUE)

Arguments

nbn

nbn object to be printed.

what

a character(1); when comprising "p" the name of each node with its parents are given, when comprising "r" the formula regression of each node is given with the node, when comprising "m" the model is given.

digits

when not null, the number of digits for rounding.

ordering

Nodes are given following the indices of "ordering" if numeric or the names if it is character. NULL means the identity permutation. Repetitions or missing nodes are accepted.

chk

Check of the consistency of 'nbn' be performed before printing.

Value

Nothing but but nbn is printed.

Examples

 print8nbn(rbmn0nbn.01);
 print8nbn(rbmn0nbn.03, "pm", order=1:2)

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