Question: Please solve using the Rstudio Program Problem 3. The famous data set iris which gives the measurements in centieters of the variables sepal length and

 Please solve using the Rstudio Program Problem 3. The famous data

Please solve using the Rstudio Program

Problem 3. The famous data set iris which gives the measurements in centieters of the variables sepal length and width and p length and width, respectively, for 50 flowers fro each of 3 species of iris is available in R. Type iris directly to see what it looks like. 1. Listthe variable names of the data set iris. Wha are he classes for each 2. Select the sset of the data frame whose Species are setosa and reportthe edian 3. Select the subet of the data frame whose Species are either versicolor or virginica variable? (use function median) of 'Sepal. Width' of the selected subset and rep()rtthe average of 'Petal.width' of the selected subset. Select the subset of the data frame whose Sepal. Length are greater than 4.5 but less than 6.0. Report the variance (use function var) of SepalLength' of the selected subset 5. Combine the data frames you got in part 2 and part 4 to one data frame. Report the nuber of observations in this data frame 6. There are some duplicated observations in the data frae you obtained in part 5. Use help unique) to learn the usage of the function unique and then utilize it to make the data frame you obtained in part 5 doesn' contain any duplicated observations. Report the ubof observations in this data frame

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!