This is for Predictive Analytics. 1. Read the iris data set into a data frame. 2. Print...

90.2K

Verified Solution

Question

Basic Math

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

Answer & Explanation Solved by verified expert
4.0 Ratings (840 Votes)
I am not able to attach a file so would be sharing the code andoutput    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students