Question: This question is based on Rstudio. Please write the line of codes You have a data frame in you R space titled cats. This dataset

This question is based on Rstudio.
Please write the line of codes
This question is based on Rstudio. Please write the line of codes

You have a data frame in you R space titled cats. This dataset records the number of cats spotted around campus. These are your columns: Library, CAB, SFC, Cafeteria and Gym. Write a line of code to do the following a. Get all rows where the number of cats at the library are greater than 5. b. Extract the first 5 rows c. Extract the first 2 columns d. Extract all rows where number of cats at CAB 5

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!