Renders a reproducible report summarizing model fit, validation, sensitivity analysis, and pipeline review, aligned with TRIPOD+AI reporting guidance. Supports both binary classification and survival models. This is a drafting aid, not a certified compliance tool.
Arguments
- model
A fitted
triageR_modelortriageR_survival_modelobject.- model_type
Character. Either
"classification"(default) or"survival". Must match the type ofmodelsupplied.- validation
Optional validation object: a
triageR_validation(fromtr_validate()) for classification models, or atriageR_survival_validation(fromtr_validate_survival()) for survival models.- review
Optional
triageR_reviewobject fromtr_agent_review().- sensitivity
Optional
triageR_sensitivityobject fromtr_sensitivity(). Not currently supported for survival models.- recommendation
Optional character string from
tr_recommend_method().- output_file
Character. File path (without extension) to save the report to. Defaults to a file in
tempdir(). Set explicitly (e.g.file.path("my_folder", "report")) to save elsewhere.- format
Character. Either
"html"(default) or"docx".
