prob_table | R Documentation |
Put joint probabilities in an array with labelled dimensions.
prob_table(graph, dims = rep(2, n), values = 1/prod(dims))
graph |
An ADMG, object of class |
dims |
An integer vector with same length as |
values |
A vector of joint probabilities of length |
An array containing the probabilities with appropriately labelled dimensions.
Robin Evans
data(gr1, package="MixedGraphs")
prob_table(gr1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.