Description Usage Arguments Value See Also Examples
Return the parental given by thresholding a edge probability matrix at a given level. The inequality is >=. Note this may well be cyclic.
1 | parentalFromEPThreshold(ep, threshold)
|
ep |
A matrix of class ep |
threshold |
The value at which to threshold the matrix |
An object of class parental
1 2 3 4 5 6 7 8 9 | x1 <- factor(c(1, 1, 0, 1))
x2 <- factor(c(0, 1, 0, 1))
x <- data.frame(x1 = x1, x2 = x2)
exact <- posterior(data = x, "exact")
myep <- ep(exact)
parentalFromEPThreshold(myep, 0.2)
parentalFromEPThreshold(myep, 0.4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.