prune_dictionary_for_exclusivity: Kick out particularly large groups before wrangling the...

View source: R/weaveWebFromTables.R

prune_dictionary_for_exclusivityR Documentation

Kick out particularly large groups before wrangling the dictionary list into a binary adjacency matrix.

Description

Takes the anansi dictionary in list format and prunes the larges groups based on sd from the median.

Usage

prune_dictionary_for_exclusivity(dict_list, max_sds = 3, verbose = TRUE)

Arguments

dict_list

A list that has tableY names as entries in the case of mode == "interaction" and group names in the case of mode == "membership". For general use, we recommend using the one provided in this package.

max_sds

a numeric, how many standard deviantions larger than the group median are groups allowed to be?

verbose

A boolean. Toggles whether to print diagnostic information while running. Useful for debugging errors on large datasets.

Value

a pruned anansi dictionary list object.


thomazbastiaanssen/anansi documentation built on Feb. 9, 2025, 2:07 p.m.