Question: To load the iris dataset into R , you will want to write the following command: library ( datasets ) data ( iris ) Create

To load the iris dataset into R, you will want to write the following command:
library(datasets)
data(iris)
Create a new R markdown document.
Add a title to the document, along with your name.
Add a level 1 header that provides a name for the iris analysis.
Add a code chunk that assigns the iris dataset to a new variable (iris is
included in the R environment). Make sure this code chunk is visible in
the document.
Add a level 2 header that states 'Average Sepal Length by species'
Using dplyr, group the dataset by species, and provide the average
sepal length. Include the code and the results in the document.
Add a code chunk that calls ggplot2 library, but do not include it in
your presentation.
Add a level 2 header that states Visualizations'
Using a combination of histograms and box plots, visualize the
differences in sepal length, sepal width, petal length, and petal width
between the species, Set your code to be displayed in the document.
Under the visualizations, write a brief paragraph describing the
differences between the species.
To load the iris dataset into R , you will want

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!