Analyzes how often each individual factor appears in identified subgroups, extracting base factor names from full definitions and identifying common specific definitions.
summarize_factor_presence_robust(
results,
maxk = 2,
threshold = 10,
as_gt = TRUE
)List with base_factors and specific_factors data.frames or gt tables
Data.table or data.frame. Bootstrap results with M.1, M.2, etc. columns
Integer. Maximum number of factors allowed
Numeric. Percentage threshold for including specific definitions (default: 10)
Logical. Return gt tables (TRUE) or data.frames (FALSE)