[solved]-Anyone Help R Programming Questions R Several Packages Come Installation Automatically Exa Q39064507
Can anyone help me with these R programming questions?
In R, several packages come with installation automatically. Forexample, the package datasets contains multiple datasets used bymany R packages as examples. The iris datasetgives the measurements in centimeters of the variables sepallength, sepal width, petal length, and petal width for 50 flowersfrom each of 3 species of iris. The species are Iris setosa,versicolor, and virginica. Load dataset iris into R using thestatements below.
> library(datasets)
> data(iris)
There are five columns, also called attributes or variables, inthe dataset: Sepal.Length, Sepal.Width, Petal.Length, Petal.Width,and Species. The first four are numeric, and the fifth iscategorical.
Question 1. Please visualize data usingbox plot, violinplot and scatter plot. You needto select which two variables out of the five to use. Pleaseinclude a screenshot for each plot. Be aware that for some plots,there may be some more interesting patterns only exist in somevariables.
Question 2. Please calculate the correlationcoefficient matrix of the first four variables, and copy to yourWord file.
Expert Answer
Answer to Can anyone help me with these R programming questions? In R, several packages come with installation automatically. For … . . .
OR

