Learn R Programming

hmma (version 1.1.0)

createbn: Creates a Bayesian network without arcs.

Description

The createbn function create a Bayesian network without any arcs. The nodenames supplied as argument are used to determine the amount of nodes and their names. Furthermore, the possible emissions from the nodes are begin retrieved from the emissionOutputPerNode argument.

Usage

createbn(nodeNames, emissionOutputPerNode, seed)

Arguments

nodeNames

The names that the nodes must have.

emissionOutputPerNode

The possible outputs per node.

seed

The seed for the randomized functions.