dot-print_observation_diffs: Print Observation-Level Differences (Internal Helper)

.print_observation_diffsR Documentation

Print Observation-Level Differences (Internal Helper)

Description

Shared helper used by both print.dataset_comparison and print.cdisc_comparison. Prints a summary line, a per-variable table, and up to n rows of the top variable's differing observations.

Usage

.print_observation_diffs(obs, n = 30, id_details = NULL, n_total_obs = NULL)

Arguments

obs

Observation comparison list (with discrepancies, details, and optionally id_details and message).

n

Maximum number of differing rows to display (default 30).

id_details

Optional named list of ID detail data frames (from key-based comparison).

n_total_obs

Total number of observations (for percentage calculation).

Value

Called for side effects (prints to console). Returns NULL invisibly.


clinCompare documentation built on Feb. 19, 2026, 1:07 a.m.