prob: Get probability of value given parents

Description Usage Arguments Value

Description

S3 generic function for getting the probability of a value given a nodes parents take specific values.

Usage

1
prob(object, pvals, val, aux, met = "aux")

Arguments

object

the node object.

pvals

the values taken by the node's parents.

val

the value taken by the node.

Value

the probability of the node taking the specified value given its parents take the specified values.


mickash/Adaptive-Bayesian-Networks documentation built on Nov. 14, 2019, 12:14 a.m.