GGPLOT2 Package It is a graphic package implemented in R, it allows to make graphs in a very flexible way since it contains many different commands to perform specific functions when creating and / or manipulating graphs. In addition, this graphic package has an underlying grammar in layers , so that it is composed of components. These independent components can be combined in different ways to make or modify the chart. Each graph is made from a few equal components: data, visual marks representing data points (geoms), and a coordinate system. The necessary variables for the ggplot command are the data to be used in data frame format and know which variables we will use as x and y: ggplot (df, aes (x, y, )) You can add more layers to the previous ggplot using the + operator, so the code is explicit as to which layers were added and in the order they were added. Examples: require ( ggplot2 ) ## Loading required package: ggplot2 ## Warning: package 'ggplo...