Description Usage Arguments Value Author(s) Examples
View source: R/create_rule_set2.R
Underlying code is C++ based
1 | create_rule_set2(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
Christof Neumann
1 2 3 | # xdata <- sapply(1:100, function(x)sort(sample(letters[1:12], size = sample(1:5, 1))))
# res <- create_rule_set2(elements = xdata, maxlen = 3)
# head(res, 10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.