September 2021
Identify scientific questions
Distinguish between exploratory and confirmatory analysis
Pre-register studies when possible
Keep an exploration and analysis journal
Explore predictors and responses separately at first
Look at location and shape
Maybe with different sets of grouping variables
Built in to R
See Rauser video
This can work surprisingly well
Bigger is not always clearer
Since the point is to make patterns visually clear, trial-and-error can be OK here
Depending on how many data points you have, scatter plots may indicate relationships clearly
Local smoother (locally flat, linear or quadratic)
Check help function for loess
_density_2d()
to fit a two-dimensional kernel to the densitygeom_hex
to plot densities using hexesUse clear gradients
If there’s a natural middle, you can use blue to white to red, or something similar
Three dimensional data is a lot like two-d with densities: contour plots are good
Pairs plots: pairs
, ggpairs
Use boxplots and violin plots
Make use of facet_wrap
and facet_grid
Use different combinations (e.g., try plots with the same info, but different factors on the axes vs.~in the colors or the facets)