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
Get step-by-step solutions from verified subject matter experts
