frameToRules {rCBA} | R Documentation |
Conversion of data.frame
to rules
from arules
Description
Conversion of data.frame
to rules
from arules
Usage
frameToRules(model)
Arguments
model |
|
Value
arules
rules
representation
Examples
library("rCBA")
model <- data.frame("rules" = c("{X=1} => {Y=1}","{X=0} => {Y=0}"),
"support" = c(0.5,0.5),
"confidence" = c(0.5,0.5),
"lift" = c(1.0,1.0))
rules <- rCBA::frameToRules(model)
inspect(rules)
[Package rCBA version 0.4.3 Index]