I am currently working on a case study, which requires me to create new variables using R, and after much research, I cannot find a helpful answer. The case study calls for the following:
• Create a numeric variable that counts the total seasons of purchase through Spring 07.
• Create a variable that indicates whether the customer is a multichannel buyer or not
• Create a variable that indicates whether or not the customer has gift dollars or not
P.S. I am using a Microsoft Excel dataset for a multichannel company.
Any help would be greatly appreciated! Thank you all in advance!