Learn R Programming

rbmn (version 0.9-6)

print8nbn: print function for a /nbn/ object.

Description

prints a /nbn/ object.

Usage

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

Value

Nothing but but nbn is printed.

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.

Examples

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

Run the code above in your browser using DataLab