antecedents: Extract antecedent-part (LHS) of the rules in a list

Description Usage Arguments Details Value Author(s) See Also

View source: R/antecedents.R

Description

Given a list of rules, the function returns a list of antecedents (i.e. left hand side) of the rules.

Usage

1
antecedents(rules)

Arguments

rules

Either a list of rules or an object of class farules.

Details

This function assumes rules to be a list of character vectors where the first element of each vector is a consequent part of the rule and the rest is the antecedent part of the rule. Function returns a list of antecedents.

Value

A list of character vectors.

Author(s)

Michal Burda

See Also

farules


lfl documentation built on May 29, 2017, 10:53 a.m.