Use the 'iris' dataset to build the following three plots: a. A plot of Sepal.Length vs. Sepal.Width b. The same plot, but coloured by 'Species' c. A plot of Petal.Length vs. Species
the qplot function and the 'iris' dataset to re- build the following three plots: a. A plot of Sepal.Length vs. Sepal.Width b. The same plot, but coloured by 'Species' c. A plot of Petal.Length vs. Species 2. For the plot in part 'c', try changing the geom argument to "boxplot". Try building a graph with both points and boxplot on them
the following plots using the iris data: a. Petal.Width vs. Petal.Height, faceted in a row by Species; and the same plot by column b. Sepal.Width vs. Sepal.Height, with the x-axis log-transformed, the y-axis log-transformed, and both axes log-transformed
of simpler components: • data • aesthetics: e.g. coordinates, colour, size of points • geoms: the type of plot layer: line, point, etc. • facets: organizing graphs into subplots • transforms: logs, square roots, continuous to discrete etc. • stats: functions of the raw data • coordinates: e.g. Euclidean, map coords, polar • themes: font size, grids, etc.