print.RuleSetRST | R Documentation |
A print method for RuleSetRST objects.
## S3 method for class 'RuleSetRST'
print(x, howMany = min(10, length(x)), ...)
x |
a |
howMany |
an integer giving the number of rules to be printed. The default is minimum from 10 and the total number of rules in the set. |
... |
the other parameters. |
prints its argument and returns it invisibly
Andrzej Janusz
###########################################################
## Example : Printing of a decision rule set problem
###########################################################
data(RoughSetData)
hiring.data <- RoughSetData$hiring.dt
rules <- RI.LEM2Rules.RST(hiring.data)
rules # all rules are printed
print(rules, 2) # only the first two rules are printed
# printing a subset of rules
rules[2:3]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.