calculate_prob_of_comb: Calculate probabilities of single elements and combinations...

View source: R/calculate_prob_of_comb.R

calculate_prob_of_combR Documentation

Calculate probabilities of single elements and combinations occurring

Description

Calculate probabilities of single elements and combinations occurring

Usage

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


NetFACS documentation built on March 18, 2022, 7:40 p.m.