as.data.frame.farules {lfl}R Documentation

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

Author(s)

Michal Burda

See Also

farules(), searchrules()


[Package lfl version 2.2.0 Index]