View source: R/cv_summary_tables.R
| cv_summary_text | R Documentation |
Generates a compact text string summarizing CV results, suitable for annotations in plots or reports.
cv_summary_text(
cv_result,
est.scale = "hr",
include_finding = TRUE,
include_agreement = TRUE
)
cv_result |
List. Result from |
est.scale |
Character. "hr" or "1/hr" to determine label orientation. Default: "hr". |
include_finding |
Logical. Include subgroup finding rate. Default: TRUE. |
include_agreement |
Logical |
Character string with formatted CV metrics.
## Not run:
cv_text <- cv_summary_text(tenfold_results)
# Returns: "CV found = 95%, Agree(+,-) = 88%, 92%"
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.