This question has been answered
Question

Suppose that we read a csv file called 'mpg' into R. The file has

6 variables and 150 rows. Which of the following is the correct command to use in R if we would like to print out the first 6 rows of columns 1, 2 and 3 ?
a.acct[1-6,3]
b. acct[1:6,1:3]
c.acct[1:3,1:6]
d.acct[1-6,1,2,3]

Answered by Expert Tutors
Step-by-step explanation
Suppose that we read a csv file called 'mpg' into R.The file has 6 variables and 150 rows.Which of the following is the correct command to use in R
Get unstuck

321,403 students got unstuck by Course
Hero in the last week

step by step solutions

Our Expert Tutors provide step by step solutions to help you excel in your courses