Description Usage Arguments Value
View source: R/create_rule_set.R
Function underlying the netfacs() function; takes the observed elements, applies the apriori() function of the arules package, and create dataframe with all observed probabilities
1 | create.rule.set(elements, maxlen)
|
elements |
list with vectors for all elements observed together at each event |
maxlen |
maximum size of combinations to be considered |
Function returns a dataframe with observed probabilities for each combination in the dataset
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.