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.
1 | rebuild_strength(df, threshold, mode)
|
threshold |
desired value for threshold attribute |
mode |
desired value for mode attribute |
a |
data frame |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.