Skip to content

HVTI Recipes 3.1.8

Choose a tag to compare

@ehrlinger ehrlinger released this 26 Oct 13:13
184c98b

A patch edition: three chapters re-rendered against the 2026-10-25 family releases, and one finding about the new role colors.

Read it: https://ehrlinger.github.io/hvtiGraphics/

The role colors change nothing here

hvtiPlotR 2.8.18 moved the event and censored colors to Paul Tol's red #CC3311 and blue #0077BB. No figure in the book uses them: they apply only through scale_fill_hv(), scale_color_hv() and hv_role_palette(), which no chapter calls. After a clean rebuild, 157 of 168 figure PDFs are pixel-identical to 3.1.7. The "vermillion" in the captions is hv_palette(), which did not change.

3.1.8

  • Manuscript tables follow the house notation (#105). Under hvtiRtables 1.0.8 and later, medians print in brackets, 46 [30, 62], and p-values drop the leading zero, .5. The summary recipe and its gt comparison now ask for the bracket form, so the table agrees with the default footnote, "Median [15th, 85th percentiles]". The printed hv_tbl_summary() result carries a Variable column for checking the report view against the data; hv_man_table_jtcvs() and hv_man_table_save() drop it, so it never reaches a manuscript.
  • The scatter recipe explains the short y-axis title (#105). On a continuous panel hv_eda() now uses y_label as the plot title and puts only the trailing units on the axis, so "Ejection Fraction (%)" titles the panel and the axis reads %. Add labs(y = ...) when the axis needs the full label.
  • The slide-fitting printout in Presentations reflects hvtiPlotR 2.8.16's 4.11 in panel box. The figures are unchanged.

Not yet refreshed

The two varPro chapters keep their 3.1.7 figures. ggRandomForests main has moved past the commit they were drawn with and redraws them noticeably; they will be re-rendered when ggRandomForests 4.0.0 releases. sibling-versions.json keeps ggRandomForests at that older commit on purpose, so the weekly version check keeps flagging the pending refresh.

Built against

hvtiR 1.3.3, hvtiPlotR 2.8.18, hvtiRutilities 1.5.13, hvtiRtables 1.0.11, TemporalHazard 1.2.16 and ggRandomForests 4.0.0 (99acd37), with randomForestSRC 3.9.0, varPro 3.3.0, mlbench 2.1-11, consort 1.2.4 and ggsci 5.2.0. sibling-versions.json records them. The changed chapters were rendered locally against the tagged releases, so their HTML figures are set in Helvetica rather than the CI build's Nimbus Sans.