extract_all_metrics: Extract all metrics from QCA solution object

View source: R/tsqca_helpers.R

extract_all_metricsR Documentation

Extract all metrics from QCA solution object

Description

Safely extracts solution-level and term-level metrics from various QCA solution object structures. Handles cases where multiple solutions exist and sol.incl.cov may be NULL.

Usage

extract_all_metrics(IC, sol_obj = NULL)

Arguments

IC

IC object from QCA solution.

sol_obj

Full solution object (optional, for fallback).

Value

List with elements:

  • sol_inclS — solution consistency (or NA)

  • sol_PRI — solution PRI (or NA)

  • sol_covS — solution coverage (or NA)

  • term_df — data frame of per-term metrics (or NULL)


TSQCA documentation built on Feb. 18, 2026, 5:06 p.m.