adjustMixedDir | R Documentation |
Adjusting the PDAG matrix to model constraints This function can be used to adjust the adjacency matrix to model constraints, such as blacklist and background nodes
adjustMixedDir(adj, bnnames, blacklist)
adj |
adjacency matrix representing a graph or posterior probabilities of all its edges |
bnnames |
object of class bnNames |
blacklist |
a square matrix with same dimensions as adj representing edges prohibited by the model |
returns a matrix where entries prohibited by the model or blacklist are 0 and equal to correspondnding values of adj otherwise
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.