Question: Please use R-STUDIO and show correct code. I will give you a thumbs up!! The dataset iris contains information about the measurements (in centimeters) of
Please use R-STUDIO and show correct code. I will give you a thumbs up!!
The dataset iris contains information about the measurements (in centimeters) of sepals and petals for 50 flowers from 3different species (see picture above). The first few observations are listed below.
library(dplyr)
# Save dataset in environment
myiris <- iris
# Look at the 10 first rows
head(iris,10)
Using dplyr functions (do not use any [] or $), show the top 5 flowers that had the highest petal length, sortedfrom greatest to least top length, with the variables Species and Petal.Length only. Which species had the top 5 flowers interms of petal length?
# your code goes here (make sure to add comments)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
