Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Please please provide me full answer for this question. image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions