peppuR_nb: Naive Bayes method

Description Usage Arguments Value

View source: R/MLmethods.R

Description

Naive Bayes method

Usage

1
peppuR_nb(X, data, pair_cname, outcome_cname, sample_cname, ...)

Arguments

X

- n-by-p data.frame containing all of the 'covariates' that will be used to predict class of y

data

- a data.frame with columns: y - n vector of class identifiers for each for of X ID - n vector of patient IDs pair - vector of pair identifiers time - n vector of time point identifiers

...

- additional arguements passed to BGLR(...)

Value

the object created by naivebayes::naive_bayes


pmartR/peppuR documentation built on Jan. 17, 2020, 12:54 p.m.