arcs4nbn1nbn {rbmn} | R Documentation |
returns the list of 'parallel' arcs of a crossed-nbn
Description
Returns a list of matrices with two columns (as needed by
estimate8constrainednbn
) indicating corresponding arcs for
each arcs/nodes of nbn1
(or nbn2
) of the crossed /nbn/
obtained when crossing /nbn1/ and /nbn2/ with node names given by
nona
.
Usage
arcs4nbn1nbn(nbn1, nbn2, type="a1", nona=as.vector(outer(names(nbn1),
names(nbn2), paste, sep="_")))
Arguments
nbn1 |
The first generating /nbn/. |
nbn2 |
The second generating /nbn/. |
type |
Must be |
nona |
The node names to give to the crossed /nbn/, the nodes
of the |
Value
The resulting named (after node names) list of matrices.
Examples
print(arcs4nbn1nbn(rbmn0nbn.01, rbmn0nbn.04));
[Package rbmn version 0.9-6 Index]