Contents
visualize$evaluate$stratification
Score-band stratification plot
Plots evaluate$stratification()'s per-band contrast -- an odds ratio for a binary outcome, a mean difference for a continuous one -- by band, one point-and-interval series per model, faceted by outcome (columns) and stratum (rows). A reference line is drawn at 1 for an odds ratio and 0 for a mean difference. Band rows (the reference band and the unadjusted rate/mean) are not drawn; only the covariate-adjusted contrasts are.
Usage
visualize.evaluate.stratification(results, theme = c("polygenius", "none"))Arguments
| Argument | Description |
|---|---|
results | A [PolyGeniusEvaluation](/reference/evaluate/) of evaluate$stratification(). |
theme | One of "polygenius" (default), "none". Plot theme. "none" gives a bare theme_minimal() to style yourself; palette colors are applied either way. |
Value
A ggplot.
Examples
strat <- evaluate$stratification(data, outcomes = case, covariates = c(age, sex))
visualize$evaluate$stratification(strat)See Also
evaluate$stratification(), which produces results.
Other visualize-evaluate:
visualize.evaluate.association(),
visualize.evaluate.compare(),
visualize.evaluate.incremental(),
visualize.evaluate.performance(),
visualize.evaluate.profile(),
visualize.evaluate.redundancy()