query_belief {jti}R Documentation

Query probabilities

Description

Get probabilities from a junction tree object

Usage

query_belief(x, nodes, type = "marginal")

## S3 method for class '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'

See Also

jt, mpe

Examples

# See the 'jt' function

[Package jti version 0.8.4 Index]