interactionGraph: Creates Interaction graph

Description Usage Arguments Value Examples

Description

Creates Interaction graph

Usage

1
interactionGraph(df, classAtt, intNo = 16, speedUp = FALSE)

Arguments

df

A discrete data.frame

classAtt

A class column of the df (string)

intNo

A desired number of interactions to show, i.e. an (integer) in range: [2,20]; Default value is 16.

speedUp

A (boolean) parameter. If TRUE, indicates whether the pairs of attributes with Information Gain equal to zero (on the 4th decimal) should be pruned. This speeds up calculations for larger datasets. By default it is turned off (i.e. set to FALSE).

Value

An interaction graph object (string)

Examples

1
2
3
interactionGraph(golf, "Play", intNo = 10)
interactionGraph(golf, "Play", intNo = 10, speedUp = FALSE)
interactionGraph(golf, "Play", intNo = 10, speedUp = TRUE)

integr documentation built on May 24, 2019, 5:06 p.m.