Question: Suppose that you have a dataframe object named df in R s global environment. Which code segment can you use to create a new dataframe,

Suppose that you have a dataframe object named df in Rs global environment. Which code segment can you use to create a new dataframe, df2, that includes only the first 15 rows of data, as well as two columns named, description and price, which are located in the fifth and ninth columns, respectively? (Check all that apply)

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!