marginals | R Documentation |
Given an InferenceEngine
, it returns a list containing the marginals for the variables
in the network, according to the propagated beliefs.
marginals(x, ...)
## S4 method for signature 'InferenceEngine'
marginals(x, ...)
x |
an |
... |
potential further arguments of methods. |
a list containing the marginals of each variable, as probability tables.
## Not run:
eng <- InferenceEngine(net)
marginals(eng)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.