You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the base heatmap() functionality is too complex to mimic insofar as it gives a dendrogram of relationships along the axes. But something approaching the equivalent of ggplot2::geom_tile and co. should be pretty straightforward. (cc @zeileis comment #218 (comment))
And here's a more complex version, using correlation scores from the attitude dataset. (Note the theme tweaks, which we may want to role into a dedicated "heatmap" theme.)
Activity
grantmcdermott commentedon Jul 27, 2026
I think the base
heatmap()functionality is too complex to mimic insofar as it gives a dendrogram of relationships along the axes. But something approaching the equivalent ofggplot2::geom_tileand co. should be pretty straightforward. (cc @zeileis comment #218 (comment))Manual example, dispatching to
type = "rect".And here's a more complex version, using correlation scores from the
attitudedataset. (Note the theme tweaks, which we may want to role into a dedicated"heatmap"theme.)Created on 2026-07-27 with reprex v2.1.1