Skip to contents

Specifications and data assembly

cce_spec()
Create a Counterfactual Comparator Engine specification
read_cce_spec()
Read a CCE specification from YAML
write_cce_spec()
Write a CCE specification to YAML
validate_cce_tables()
Validate normalized CCE source tables without stopping the workflow
profile_cce_dataset()
Profile an analysis-ready CCE dataset
build_analysis_dataset()
Build an analysis-ready dataset from normalized CCE tables
cce_demo_data()
Generate bundled synthetic example data

Estimation

fit_cce_vs()
Estimate a counterfactual VS comparison
project_soc_only()
Project SOC-only curves under proportional hazards scenarios
required_hr()
Reverse-solve the hazard ratio needed to hit an RMST target
estimate_pos_proxy()
Estimate an assumption-based probability-of-success proxy

Outputs

as_curves_df()
Extract curves from a CCE result
as_effects_df()
Extract effect summaries from a CCE result
as_diagnostics_df()
Extract diagnostics from a CCE result
write_cce_results()
Write CCE result files to disk