Page 1 of 1

5) Create a code block that makes a density plot of Petal.Width for one iris species. At the start of the code block, in

Posted: Sun May 15, 2022 1:48 pm
by answerhappygod
5 Create A Code Block That Makes A Density Plot Of Petal Width For One Iris Species At The Start Of The Code Block In 1
5 Create A Code Block That Makes A Density Plot Of Petal Width For One Iris Species At The Start Of The Code Block In 1 (23.09 KiB) Viewed 81 times
5) Create a code block that makes a density plot of Petal.Width for one iris species. At the start of the code block, include a character variable called Focal.Species that is set to either "setosa", "virginica", or "versicolor". Using a series of if statements, use the value of Focal.Species to determine which of the three plots to make. The code should be able to make any of the three plots, depending on what Focal.Species is set to.