Description Usage Arguments Value See Also
View source: R/parents-table.R
Creates a matrix, with each row being a parent set. The
is is created subject to the supplied indegree
restriction, and the the supplied required
and
banned
restrictions.
1 2 | enumerateParentsTableNode(node, numberOfNodes,
maxNumberParents, required, banned)
|
node |
A node |
numberOfNodes |
Number of nodes |
maxNumberParents |
The maximum indegree of the node. |
required |
A numeric vector. The nodes that must be included in every parent set for this node. |
banned |
A numeric vector. The nodes that must be excluded from every parent set for this node. |
A matrix with maxNumberParents
columns. Each row
is a possible parent set for node node
, accounting
for the restrictions given by required
and
banned
. Entries that are NA
indicate no
parent. e.g. there is only one parent, the other entries
will be NA
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.