create.rule.set: Take vector of elements and calculate probabilities of...

Description Usage Arguments Value

View source: R/create_rule_set.R

Description

Function underlying the netfacs() function; takes the observed elements, applies the apriori() function of the arules package, and create dataframe with all observed probabilities

Usage

1
create.rule.set(elements, maxlen)

Arguments

elements

list with vectors for all elements observed together at each event

maxlen

maximum size of combinations to be considered

Value

Function returns a dataframe with observed probabilities for each combination in the dataset


gobbios/testingtravis documentation built on July 26, 2020, 7:22 a.m.