createbnFromData: Creates a Bayesian network from a datafile

Description Usage Arguments Details

View source: R/createbnFromData.R

Description

The createbnFromData creates a Bayesian network from the datafile that is supplied. The $x parameter of the datafile should contain the actual data, while the $N component should contain the observation lengths.

Usage

1

Arguments

data

The datafile as specified above.

seed

Seed.

debug

Switches debug mode on/off.

Details

The possible outputs of a node are based on the unique values in the dataset. All unique values from a column (a random variable) are converted to possible outputs of the node in the BN.


hmma documentation built on July 2, 2020, 12:10 a.m.