View source: R/calculate_prob_of_comb.R

calculate_prob_of_comb | R Documentation |

Calculate probabilities of single elements and combinations occurring

calculate_prob_of_comb(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

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.