is.significant: Find Significant Rules

Description Usage Arguments Value Author(s) See Also Examples

Description

Provides the generic functions and the S4 method is.significant to find rules where the LHS and the RHS depend on each other. This uses Fisher's exact test and corrects for multiple comparisons.

Usage

1
is.significant(x, transactions, alpha = 0.01, adjust = "bonferroni") 

Arguments

x

a set of rules.

transactions

set of transactions used to mine the rules.

alpha

required significance level.

adjust

method to adjust for multiple comparisons. Options are "none", "bonferroni", "holm", "fdr", etc. (see p.adjust)

Value

returns a logical vector indicating which rules are significant.

Author(s)

Michael Hahsler

See Also

interestMeasure, p.adjust

Examples

1
2
3
4
5


Search within the arules package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.