Repository navigation
hvtiPlotR 2.8.19
-
plot.hv_survival()gainscurve = c("step", "line")."line"joins the
events with straight lines, as the SAS%kaplanfigures do, on the
"survival","cumhaz"and"loglog"plots: it draws time zero, each event
and each stratum's last row, and skips the censored rows between, so a
censoring time puts no corner in the line. The CI ribbon follows the same
rows. The default,"step", draws exactly as before. -
plot.hv_mirror_hist()gainssplit_tall(defaultFALSE) and
split_mult(default 1.5). When one arm piles into a single bin, say 648 of
685 patients at a score of 95 to 100%, that bar flattens the figure and the
small arm and the matched bars cannot be read. Withsplit_tall = TRUEthe
y-axis is sized tosplit_multtimes the tallest matched (or weighted) bar
or tallest bar of the smaller arm. Any taller "all patients" bar is cut by a
white gap, set above the tallest matched bar, and labeled with its full
count. The limits are set incoord_cartesian(), which clips the bar; the
scale limits used otherwise would drop it. -
The mirrored histogram's fill legend reads "SAVR, all", "SAVR, matched"
(or "weighted"), and so on, fromgroup_labels, in place of the internal
keysbefore_g0,matched_g1.hv_mirror_hist()stores the labels in
meta$fill_labelsfor ascale_fill_manual(labels = )that replaces the
default fill scale.