View source: R/cross-validation.R
Predict each variable, given the model in the supplied
Bayesian Network x
.
1 2 | predict.bn(x, param, newdata,
type = c("response", "probabilities"))
|
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.