qCBA (version 0.3)

rcbaModel2CustomCBAModel: rcbaModel2CustomCBAModel Converts a model created by rCBA so that it can be passed to qCBA

Description

Creates instance of customCBARuleModel class based on model created by the rCBA package. Instance of customCBARuleModel can then be passed to qcba instead of an instance of CBARuleModel, which is created with the arc package.

Usage

rcbaModel2CustomCBAModel(rcbaModel, cutPoints, classAtt, rawDataset, attTypes)

Arguments

rcbaModel

object returned by rCBA::build

cutPoints

specification of cutpoints applied on the data before they were passed to rCBA::build

classAtt

the name of the class attribute

rawDataset

the raw data (before discretization). This dataset is used to guess attribute types if attTypes is not passed

attTypes

vector of attribute types of the original data. If set to null, you need to pass rawDataset.