antecedents | R Documentation |
Given a list of rules or an instance of the S3 farules()
class,
the function returns a list of their antecedents (i.e.
left-hand side of rules).
antecedents(rules)
rules |
Either a list of character vectors or an object of class |
This function assumes rules
to be a valid farules()
object or
a list of character vectors where
the first element of each vector is a consequent part and the
rest is an antecedent part of rules. Function returns a list of
antecedents.
A list of character vectors.
Michal Burda
consequents()
, farules()
, searchrules()
rules <- list(c('a', 'b', 'c'), c('d'), c('a', 'e'))
antecedents(rules)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.