Basic Graphs for Variables in Datasets

Most of the graphs for datasets use the formula interface and are part of the lattice package, which is loaded together with the hanoverbase package.

Use vignette("ggformula") within RStudio or this link to see more examples of ggformula.

Graphs for categorical variables

Common graphs for categorical variables are dotplots and barcharts.

Graphs for quantitative variables

Common graphs for quantitative variables are histograms and box-and-whisker plots.