Question: Please please provide me full answer for this question. iris Homework Question; ar What are the column names and data types of the different columns
iris Homework Question; ar What are the column names and data types of the different columns in iris? b How many rows and columns does iris have? Create a single vector (a new object) called width that is the Sepal.Width column of iris d What is the 100th value in your 'width vector? e What is the last value in your width vector? Can you write code that returns this value even if you dont know how long width is? f Select rows 10 to 20, with all columns in the iris dataset. g)-Select rows 10 to 20 with only the Species, Petal-Width and PetalLength. Can you do this two different ways? h) Select rows 1 to 10, 20, and 100 in the iris dataset. Select the first value in the Sepal.Length column of the iris dataset. Bonus -can you do this three different ways? i Without running the following code in R, try to determine which of the following will return the first three rows of the Sepal. Length column in the iris data frame? For each of the answer that do not work, see if you explain why! a. iris[c(1, 2, 3). Sepal.Length .b. iris 1,2,3, Sepal. Length] c. iris(1, 2, 3). Sepal.Length d. insrsepal.Length, a1, 2, 3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
