powered by
Given an InferenceEngine, it returns a list containing the marginals for the variables in the network, according to the propagated beliefs.
InferenceEngine
marginals(x, ...)# S4 method for InferenceEngine marginals(x, ...)
# S4 method for InferenceEngine marginals(x, ...)
an InferenceEngine
potential further arguments of methods.
a list containing the marginals of each variable, as probability tables.
# NOT RUN { eng <- InferenceEngine(net) marginals(eng) # } # NOT RUN { # }
Run the code above in your browser using DataLab