Categories: Uncategorized

use the famous Iris dataset that you have also explored in the section. From the R help page on this dataset:

use the famous Iris dataset that you have also explored in the section. From the R help page on this dataset:
“This famous (Fisher’s or Anderson’s) iris data set gives the measurements in centimeters of the variables sepal length and width and petal length and width, respectively, for 50 flowers from each of 3 species of iris. The species are Iris setosa, Versicolor, and Virginia.”
First, examine the dataset using str() to see what are the variables in the dataset. You can also look at it using View(iris).
Use the “Export” button on the menu bar of the Plots pane in RStudio to save your plots as image files that you can then put in your answer document.

(a)  make a scatter plot, using geom_point() of petal widths vs petal lengths (with petal widths on the x-axis), color coded by the species.
(b)  Create three side-by-side plots of histograms of the petal lengths, one for each species, and color code them by species. (Hint: you could use facet wrap and fill=Species)
(c)  Note that the histograms seem to occupy different spots on the horizontal axis. Maybe we could put them on the same plot, and make them less opaque so we can see any overlaps.
make a plot with all three histograms in one plot, and use position=”identity” within the options of geom histogram, which is also where you will put alpha= (whatever you choose for opacity levels). If you don’t use position=”identity”, then your histograms will be stacked on top of one another wherever they overlap.

Hello! !00% sure this is a completed question. My classmate already solved this but I do not know how. Thank you!
“This famous (Fisher’s or Anderson’s) iris data set gives the measurements in centimeters of the variables sepal length and width and petal length and width, respectively, for 50 flowers from each of 3 species of iris. The species are Iris setosa, Versicolor, and Virginia.”
First, examine the dataset using str() to see what are the variables in the dataset. You can also look at it using View(iris).
Use the “Export” button on the menu bar of the Plots pane in RStudio to save your plots as image files that you can then put in your answer document.

(a)  make a scatter plot, using geom_point() of petal widths vs petal lengths (with petal widths on the x-axis), color coded by the species.
(b)  Create three side-by-side plots of histograms of the petal lengths, one for each species, and color code them by species. (Hint: you could use facet wrap and fill=Species)
(c)  Note that the histograms seem to occupy different spots on the horizontal axis. Maybe we could put them on the same plot, and make them less opaque so we can see any overlaps.
make a plot with all three histograms in one plot, and use position=”identity” within the options of geom histogram, which is also where you will put alpha= (whatever you choose for opacity levels). If you don’t use position=”identity”, then your histograms will be stacked on top of one another wherever they overlap.

Hello! !00% sure this is a completed question. My classmate already solved this but I do not know how. Thank you!
 
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code “Newclient”

The post use the famous Iris dataset that you have also explored in the section. From the R help page on this dataset: appeared first on Superb Professors.

"Order a Custom Paper on Similar Assignment! No Plagiarism! Enjoy 20% Discount"

Superbprofessors

Recent Posts

case study one page case study one page case study one page case study one page case study one page

Case study one page Case study one page Case study one page Case study one…

2 years ago

business calculus quiz

Business Calculus quiz that is 10 questions and has an hour time limit. Must be…

2 years ago

hnif 355 disscussion post

Write a 175- to 265-word response to the following: What constitutes “robust interoperability,” and what…

2 years ago

news briefing quest 2

For this News Briefing Quest task , pick and analyze a U.S. political news article…

2 years ago

acc610 final project milestone two critical element ii analysis of financial statements

ACC 610 Milestone TwoGuidelines and Rubric This is the secondof three milestone assignments that will…

2 years ago

write in complete paragraphs 5 pages

Please answer the questions in the attachment. I have sent you the required materials. Send…

2 years ago