query_belief: Query probabilities
Description
Get probabilities from a junction tree object
Usage
query_belief(x, nodes, type = "marginal")# S3 method for jt
query_belief(x, nodes, type = "marginal")
Arguments
- x
A junction tree object, jt
.
- nodes
The nodes for which the probability is desired
- type
Either 'marginal' or 'joint'