Answered step by step
Verified Expert Solution
Question
1 Approved Answer
a. (3 points) Using lapplyO , print the average Petal.Length by Species (only 1.5 points if dplyr' is used instead). Which species has the longest
a. (3 points) Using lapplyO , print the average Petal.Length by Species (only 1.5 points if dplyr' is used instead). Which species has the longest petals on average? b. (3 points) Using base R, remove all the rows related to the species setosa (only 1.5 points if dplyr' is used instead). If you do not know how to do this, use the original dataset and keep all the rows to obtain credit for the next question. c. (3 points) Using ggplot2, create a scatter plot of Fetal. Length (on the y axis) and Petal.1.-.Iidth . Use a third aesthetic (e.g. color, shape, etc) to include the variable Species in the same plot. Comment on direction of the relationship and on the role of the variable Species. d. (2 points) Consider the following linear model's results. Comment on the signicance of the predictors included in the model and say which ones are more important
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started