predictGivenParents: Predict a node, given parents

Description Usage Arguments

View source: R/cross-validation.R

Description

Predicts a particular node, given the parents in a Bayesian network

Usage

1
  predictGivenParents(node, x, param, newdata, type)

Arguments

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.


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