Skip to contents

Given an InferenceEngine, it returns a list containing the marginals for the variables in the network, according to the propagated beliefs.

Usage

marginals(x, ...)

# S4 method for InferenceEngine
marginals(x, ...)

Arguments

x

an InferenceEngine

...

potential further arguments of methods.

Value

a list containing the marginals of each variable, as probability tables.

Examples

if (FALSE) {
eng <- InferenceEngine(net)
marginals(eng)
}