Description Usage Arguments Details
Utility for specifying known root and leaf nodes in a network, to be used
in conjunction with the blacklist
argument of network estimation
methods.
1 | specify.prior(roots = NULL, leaves = NULL, nodes, indices = FALSE)
|
roots |
Vector of root nodes. May be character or integer. |
leaves |
Vector of leaf nodes. May be character or integer. |
nodes |
Full vector of node names of the entire network. Both
|
indices |
Logical: Return indices or character names? |
Builds an (m+k)x2 matrix, where m is the number of user-specified root nodes and k is the number of user-specified leaf nodes.
A root node is any node without any parents, i.e. with no incoming edges.
A leaf node is any node without any children, i.e. with no outgoing edges.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.