qCBA (version 0.3)

arulesCBAModel2CustomCBAModel: arulesCBAModel2CustomCBAModel Converts a model created by arulesCBA so that it can be passed to qCBA

Description

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

Usage

arulesCBAModel2CustomCBAModel(arulesCBAModel, cutPoints, rawDataset, attTypes)

Arguments

arulesCBAModel

aobject returned by arulesCBA::CBA()

cutPoints

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

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.