View source: R/cross-validation.R
Predicts a particular node, given the parents in a Bayesian network
1 | predictGivenParents(node, x, param, newdata, type)
|
node |
An integer, specifying the node |
x |
A BN |
param |
Parameters for the model |
newdata |
A data frame of new data |
type |
The type of prediction required. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.