Question: Create a data frame named class using the following vectors: students - c ( James , Audrey ) major - c (

Create a data frame named class using the following vectors:
students -c("James", "Audrey")
major -c("BAT", "Marketing")
senior -c(FALSE, TRUE)
sport -c("Scoccer", "Tennis")
Select the first row and first 3 columns of the data frame. The result in the Console is
students major senior
1 James
BAT FALSE
students major senior
1 James
BAT FALSE
students major senior sport
1 James BAT FALSE Scoccer
 Create a data frame named class using the following vectors: students

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!