predict.bn: Predict a Multinomial-Dirichlet model

Description Usage Arguments

View source: R/cross-validation.R

Description

Predict each variable, given the model in the supplied Bayesian Network x.

Usage

1
2
  predict.bn(x, param, newdata,
    type = c("response", "probabilities"))

Arguments

x

A BN

param

Parameters for the model

newdata

A data frame of new data

type

The type of prediction required.


rjbgoudie/structmcmc documentation built on Nov. 3, 2020, 3:41 a.m.