Repository navigation
HVTI Recipes 3.1.2
A patch edition covering the PRs merged since 3.1.1 (2026-09-04, #56–#67). No chapters or parts were added or moved.
Read it: https://ehrlinger.github.io/hvtiGraphics/
What changed for readers
- The whole book was re-rendered against the current hvtiR family (#65): hvtiR 1.2.1, hvtiPlotR 2.7.15, hvtiRtables 1.0.2, hvtiRutilities 1.4.0, TemporalHazard 1.2.11 and ggRandomForests 4.0.0. The re-render exposed and fixed:
bar: the NYHA palette flipped under hvtiPlotR 2.7.15, drawing class IV green. Colours are now pinned to each class by name.hv_tables: a pitfall saidhv_man_table()prints77 ||| …literally, which has been false since hvtiRtables 0.9.7. It now covers the Overall column instead.temporal_migration: the translator no longer mapsCONDITION=14, and theDELTArow is now planned. The prose says both.
- Numbers at risk for the NNT chapter (#66): NNT estimated from Kaplan-Meier curves on patient records, with a two-arm risk table counted from the same records. At 20 years the table shows only 2 SVG patients behind the estimate.
- Partial dependence is described as a model summary (#65), not an adjusted or causal dose-response.
- A voice pass across 37 chapters (#65), plus smaller factual fixes in
sankey,rf_dependence,rf_shap,balance,boxplots,nntandlegends.
Upstream fixes found along the way
- ehrlinger/hvtiPlotR#156 (merged):
hv_atrisk_compose()clipped the first and last rows of a multi-strata table. - ehrlinger/hvtiPlotR#155 (open): stacked-bar legends list levels in the opposite order to the stack.
Earlier in this edition: #56 to #63 covered label_map()'s four columns, the mlbench data change, declaring ggraph, moving the function map out of the freeze, rf_vimp reproducibility notes, and the twelve-package family page.