plotRules: Plot a rule set generated by a SDEFSR algorithm

Description Usage Arguments Details Value Examples

View source: R/exportedFunctions.R

Description

This function plots the rule set by means of a bar graph that shows TPR vs FPR quality measure of each rule

Usage

1
plotRules(ruleSet)

Arguments

ruleSet

an SDEFSR_Rules object generated by a subgroup discovery algorithm of the SDEFSR package

Details

This function works depending on the package ggplot2 that allow to generate such graph. If the package ggplot2 is not installed, the this function ask the user to install it. After install, load the package and show the graph.

A TPR vs FPR graph show the precision of a rule. Quality rules has big TPR values and small FPR values. Big values of both quality measures indicates that the rule is too much general and it is too obvious. Small values of both indicates that the rule is too much specific and it would be an invalid rule.

Value

A TPR vs FPR graph generated by ggplot2

Examples

1

SDEFSR documentation built on May 29, 2017, 10:59 a.m.