Learn R Programming

lfl (version 2.2.0)

as.data.frame.farules: Convert the instance of the farules() S3 class into a data frame. Empty farules() object is converted into an empty data.frame().

Description

Convert the instance of the farules() S3 class into a data frame. Empty farules() object is converted into an empty data.frame().

Usage

# S3 method for farules
as.data.frame(x, ...)

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. An empty farules() object is converted into an empty data.frame() object.

Arguments

x

An instance of class farules() to be transformed.

...

Unused.

Author

Michal Burda

See Also

farules(), searchrules()