Question: Problem 3: The famous data set iris which gives the measurements in centimeters of the variables sepal length and width and petal length and width,

Problem 3: The famous data set iris which 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 is available in R. Type iris directly to see what it looks like. 1. Selecting the observations (rows) whose Species are setosa. 2. Selecting the observations whose Speices are either versicolor or virginica. 3. Selecting the observations whose Sepal . Length are greater than 4.5 but less than 6.0. 4. Combine the data frames you got in part 1 and part 3 to one data frame. 5. Obviously there are some duplicated observations in the data frame you obtained in part 4. Use the command ?unique to learn the usage of the function unique in part 4. and then utilize it to remove duplicated rows from the data frame you obtained
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
