📣ggplot2 package

The ggplot2 package is a simplified implementation of grammar of graphics written by Hadley Wickham for R.

Components of Grammar of Graphics

Grammar of Graphics Components (source)

Aesthetics in ggplot2

Aesthetics in ggplot2 package (source)

vjust() and hjust()

To adjust the horizontal and vertical justification of labels and texts of a graph we can use the following image as a reference.

Last updated