rebuild_strength: Covert Dataframe to a Model Averaging Object

Description Usage Arguments

Description

Converts a data frame to an object of bn.strength, the class produced by model averaging in bn.learn. The columns of the typical bn.strength object are "from", "to", "strength", and "direction". However this function does not check for presence of exclusivity of those items, it assumes you know what you are doing.

Usage

1
rebuild_strength(df, threshold, mode)

Arguments

threshold

desired value for threshold attribute

mode

desired value for mode attribute

a

data frame


robertness/bninfo documentation built on May 27, 2019, 10:32 a.m.