Learn R Programming

jti (version 1.0.0)

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'

See Also

jt, mpe

Examples

Run this code
# See the 'jt' function

Run the code above in your browser using DataLab