createSR: createSR

Description Usage Arguments Examples

Description

A function to create objects of class SingleRule

Usage

1
createSR(a1 = NULL, cv1 = NULL, n = NULL, ...)

Arguments

a1

an index from table SingleRule (the default NULL leads to a randomly generated rule)

cv1

a constant value

n

how many rules are to be nested? (the default NULL will randomly generate an n from c(0,1,2)

...

parameters for nested rules can be passed via this argument

Examples

1
2
3
createSR(a1=2,cv1=1,n=0)

createSR(a1=2,cv1=4,n=1,c(2,15))

ruleR documentation built on May 2, 2019, 5:49 p.m.