Exploration
Inference
Explanation
11:13 20 January 2026
Exploration
Inference
Explanation
Goal: find patterns (& problems) in data, explore hypotheses
plot.lmperformance::check_model(), DHARMa packagesdotwhisker::dwplotgeom_smooth)plot(), lines() and points()legend(), axis() (for decoration)matplot() for multi-series plots, boxplot() for box plots, hist() for histograms, contour() and image(), pairs(), …par(mfrow), layout() for multiple plots on a pagecar (for scatterplot(), scatterplotMatrix()), plotrix (miscellaneous “plot tricks”), tinyplot (lightweight flexible base plots)ggplot(my_data,aes(x=age,y=rootgrowth,colour=phosphate))geom_point, geom_line(ggplot(my_data,aes(x=age,y=rootgrowth,colour=phosphate))+geom_point())
geom_boxplot, geom_smoothfacet_wrap (free-form wrapping of subplots), facet_grid (two-D grid of subplots)coord_flip(), ggstance() package)forcats::fct_reorder(), forcats::fct_infreq()RColorBrewer/ColorBrewer, IWantHue), colorspace, viridis ggokabeito packages: respect dichromatsggrepel, directlabels packages)plotly, rgl, rayshader …plotly, ggiraphGelman, Andrew, Cristian Pasarica, and Rahul Dodhia. 2002. “Let’s Practice What We Preach: Turning Tables into Graphs.” The American Statistician 56 (2): 121–30. http://www.tandfonline.com/doi/abs/10.1198/000313002317572790.
John Rauser. 2016. “How Humans See Data.” https://www.youtube.com/watch?v=fSgEeI2Xpdc.