Question: Create data frame with the vectors give below: StoreID - (111, 208, 113, 408) , Tenure - (25, 34, 28, 52) , StoreType - (Type1,

Create data frame with the vectors give below:

StoreID - (111, 208, 113, 408) , Tenure - (25, 34, 28, 52) , StoreType - ("Type1", "Type2", "Type1", "Type1"), status - ("Poor", "Improved", "Excellent", "Poor") Write the R commands printing the following in the space provided. a) only StoreID, Tenure b) only StoreType and status c) Summary of the data frame.

d) Average of Tenure.

Note: You only need to write the relevant R commands for performing these operations in the space provided.

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!