probability_of_combination {NetFACS}R Documentation

Calculate probabilities of single elements and combinations occurring

Description

Calculate probabilities of single elements and combinations occurring

Usage

probability_of_combination(elements, maxlen, sep = "_")

Arguments

elements

A vector with all elements observed together at an event. Or a list of vectors or a binary matrix with elements as colnames()

maxlen

maximum size of combinations to be considered

sep

String. Separator used for showing combinations of elements

Value

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


[Package NetFACS version 0.5.0 Index]