Ggplot - Data


Data in the context of Ggplot refers to the (source) data of the data frame.

The aesthetic method maps:

  • the data from the data frame (data)
  • to the data of the plot (an aesthetic).

See Ggplot - (aes|aesthetic) (plot parameter definition)


Data usually stay the same on a plot, you can store the default data frame with the below command:


Powered by ComboStrap