Description Usage Arguments Value Author(s) Examples
View source: R/recalculateRules.R
Recalculates the values in the rule table according to the decision table. Retrieves the rule support sets.
1 | recalculateRules(dt, rules, discrete=FALSE, pAdjust=TRUE, pAdjustMethod="bonferroni")
|
dt |
A data frame of decision table. The last column is decision. |
rules |
A data frame of rule table from rosetta main output. |
discrete |
Logical. If TRUE the dataset is discrete. Default is FALSE. |
pAdjust |
Logical. If TRUE, p-value adjustment is applied. Default is TRUE. |
pAdjustMethod |
A character containing the name of the method: holm, hochberg, hommel, bonferroni, BH, BY, fdr or none. Default is bonferroni. |
output |
A data frame containing recaluclated rules with: feature names, accuracy, support, statistics and support sets. |
Mateusz Garbulowski
1 2 3 4 5 6 | library(R.ROSETTA)
set.seed(1)
out <- rosetta(autcon)
rules <- out$main
recRules <- recalculateRules(autcon, rules)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.