Learn R Programming

lfl (version 1.3)

as.data.frame.farules: Convert the 'farules' object into a data frame

Description

This function converts an instance of class farules into a data frame.

Usage

"as.data.frame"(x, ...)

Arguments

x
An instance of class farules to be transformed.
...
Unused.

Value

A data frame of statistics of the rules that are stored in the given farules object. Row names of the resulting data frame are in the form: A1 & A2 & ... & An => C, where Ai are antecedent predicates and C is a consequent. Empty farules object is converted into an empty data.frame object.

Details

This function converts an instance of class farules into a data frame. Empty farules object is converted into an empty data.frame object.

See Also

farules