query_belief: Query probabilities

View source: R/api_query.R

query_beliefR 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

jti documentation built on April 12, 2022, 9:05 a.m.