gen: Generate random value

Description Usage Arguments Value

Description

S3 generic function for generating a random value given a nodes parents take specific values.

Usage

1
gen(object, pvals, aux, met = "aux")

Arguments

object

the node object.

pvals

the values taken by the node's parents.

met

"nat" or "aux": Generate from true or effective parents of noisy or nodes

Value

the generated value.


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