R: Optimize PTSD Diagnostic Criteria

# Optimize PTSD Diagnostic Criteria

## Documentation for package ‘PTSDdiag’ version 0.4.1

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Package NEWS.

## Help Pages

analyze_best_six_symptoms_four_required | Find optimal non-hierarchical six-symptom combinations for PTSD diagnosis
analyze_best_six_symptoms_four_required_clusters | Find optimal hierarchical six-symptom combinations for PTSD diagnosis
apply_symptom_combinations | Apply pre-specified symptom combinations to new data
as_definitions | Convert imported combination specifications into definitions
binarize_data | Binarize PCL-5 symptom scores
calculate_ptsd_total | Calculate PTSD total score
check_pcl5_data | Check PCL-5 item data before starting the workflow
compare_diagnostic_systems | Compare multiple diagnostic systems against a reference standard
compare_optimizations | Run multiple PTSD optimization scenarios in one call
create_caps5_diagnosis | Compute CAPS-5 DSM-5-TR PTSD diagnosis
create_icd11_diagnosis | Apply ICD-11 PTSD diagnostic criteria to PCL-5 data
create_ptsd_diagnosis_binarized | Determine PTSD diagnosis based on DSM-5 criteria using binarized scores
create_ptsd_diagnosis_nonbinarized | Determine PTSD diagnosis based on DSM-5 criteria using non-binarized scores
create_readable_summary | Create readable summary of PTSD diagnostic changes
cross_validation | Perform k-fold cross-validation for PTSD diagnostic models
evaluate_definitions | Evaluate symptom definitions against a sample
extract_definitions | Extract portable symptom definitions from a comparison
holdout_validation | Perform holdout validation for PTSD diagnostic models
optimize_combinations | Find optimal symptom combinations for diagnosis (non-hierarchical)
optimize_combinations_clusters | Find optimal symptom combinations for diagnosis (hierarchical/cluster-based)
plot_symptom_frequency | Heatmap of PCL-5 symptom selection frequency across optimization scenarios
print.ptsdiag_comparison | Print method for ptsdiag_comparison objects
read_combinations | Read symptom combinations from a JSON file
rename_caps5_columns | Rename CAPS-5 symptom columns
rename_ptsd_columns | Rename PTSD symptom (= PCL-5 item) columns
score_all_combinations | Score every candidate symptom combination
simulated_ptsd | Simulated PCL-5 (PTSD Checklist) Data
simulated_ptsd_genpop | Simulated General Population PCL-5 Data
summarize_ptsd | Summarize PTSD scores and diagnoses
summarize_ptsd_changes | Summarize changes in PTSD diagnostic metrics
summarize_top_combinations | Build a tidy comparison table of top combinations across scenarios
symptom_frequency | Per-symptom inclusion counts across optimization scenarios
write_combinations | Write symptom combinations to a JSON file