naive_bayes.bnet: Naive Bayes model or BAN model

Description Usage Arguments Value

Description

Naive Bayes structure generator for bnet object

Usage

1
2
naive_bayes.bnet(formula = NULL, targets = NULL, predictors = NULL,
  data = NULL, bnet = NULL, ...)

Arguments

formula

a formula object that specify the model

targets

vector of names of the target variables

predictors

vector of names of the predictor variables

data

optionally a data.frame for bnet fitting

bnet

a bnet object, optionally a bnet over the predictor variables

Value

a Naive Bayes structure, or a BAN model with bnet as predictor subgraph


gherardovarando/Rbnet documentation built on May 17, 2019, 4:18 a.m.