query_belief {jti} | R Documentation |
Get probabilities from a junction tree object
query_belief(x, nodes, type = "marginal")
## S3 method for class 'jt'
query_belief(x, nodes, type = "marginal")
x |
A junction tree object, |
nodes |
The nodes for which the probability is desired |
type |
Either 'marginal' or 'joint' |
# See the 'jt' function