as.data.frame.farules: Convert the instance of the 'farules()' S3 class into a data...

Description Usage Arguments Value Author(s) See Also

View source: R/farules.R

Description

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

Usage

1
2
## 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()


beerda/lfl documentation built on Oct. 17, 2020, 8:57 p.m.