fit_bn_str: If structure not given, learn a network structure and fits BN

Description Usage Arguments

View source: R/fit_bn_str.R

Description

If structure not given, learn a network structure and fits BN

Usage

1
fit_bn_str(bn_data, bn_str, score = "k2")

Arguments

bn_data

data.frame with only categorical columns

bn_str

optional bayesian network structure, if missing will be learned

score

used for structure learning algorthm (hill-climbing)


tereom/bnecology documentation built on Nov. 27, 2019, 2:15 p.m.