This is for Predictive Analytics.
1. Read the iris data set into a data frame.
2. Print the first few lines of the iris dataset.
3. Output all the entries with Sepal Length > 5.
4. Plot a box plot of Petal Length with a color of yourchoice.
5. Plot a histogram of Sepal Width.
6. Plot a scatter plot showing the relationship between PetalLength and Petal Width.
7. Find the mean of Sepal Length by species. Hint: You could usethe tapply function. Other methods are also acceptable.
8. Use the subset function to extract only rows where thespecies is "versicolor."
9. Install the dplyr package and load it on your console.
10. Use a function in the dplyr package to show only rows withSepal Length <6 belonging to species "virginica."
Submit all the code and subsequent output as a word file