Learn R Programming

lfl (version 1.4.2)

is.farules: Test whether x is a valid object of the farules class

Description

Test whether x has a valid format for the objects of the farules class.

Usage

is.farules(x)

Arguments

x

An object being tested.

Value

TRUE if x is a valid farules object and FALSE otherwise.

Details

This function tests wheter x inherits from farules and whether it is a list with x$rules being a list of rules and x$stats being a matrix.

See Also

farules