gen.flag: Generate random value for a flag node

Description Usage Arguments Value

Description

Generate a random value for a glaf node given the values that the node's parents take.

Usage

1
2
## S3 method for class 'flag'
gen(object, pvals, aux, met)

Arguments

object

the node.

pvals

vector specifying the values taken by the node's parents.

Value

the generated value.


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