Learn R Programming

dbnR (version 0.7.1)

add_attr_to_fit: Adds the mu vector and sigma matrix as attributes to the bn.fit or dbn.fit object

Description

Adds the mu vector and sigma matrix as attributes to the bn.fit or dbn.fit object to allow performing exact MVN inference on both cases.

Usage

add_attr_to_fit(fit)

Arguments

fit

a fitted bn or dbn

Value

the fitted net with attributes