Learn R Programming

DAGassist (version 0.2.8)

print.DAGassist_report: Print method for DAGassist reports

Description

Nicely prints the roles table, highlights potential bad controls, shows minimal/canonical adjustment sets, optionally shows formulas, and renders a compact model comparison (using {modelsummary} if available, falling back to {broom} or basic coef() preview).

Usage

# S3 method for DAGassist_report
print(x, ...)

Value

Invisibly returns x.

Arguments

x

A "DAGassist_report" object returned by DAGassist().

...

Additional arguments (currently unused; present for S3 compatibility).

Details

The printer respects the verbose flag in the report: when TRUE, it includes formulas and a brief note on variables added by DAG logic (minimal and canonical sets). Fitting errors are shown inline per model column and do not abort printing.