arcs4nbn1nbn: returns the list of 'parallel' arcs of a crossed-nbn

Description Usage Arguments Value Examples

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

1
2
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 "a1" to indicate that the parallelism must be done for each arc of nbn1. "a2" for each arc of nbn2. Or "n1" for each node of nbn1. Or "n2" for each node of nbn2.

nona

The node names to give to the crossed /nbn/, the nodes of the nbn1 varying first.

Value

The resulting named (after node names) list of matrices.

Examples

1

rbmn documentation built on May 2, 2019, 3:28 a.m.