Given a list of rules, the function returns a list of antecedents (i.e. left hand side) of the rules.
antecedents(rules)
Either a list of rules or an object of class farules
.
A list of character vectors.
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.