Hi all, I have dataset "SAMPLE", contains a player variable with records playerA, playerB,......... PlayerH, and country variable with records countryA, countryB,.....countryF. I want to create dummy variables for each category in player and country variables. If I go by writing general IF-THEN statement it takes very long code to write. Please suggest me very simple code to create dummy variables for player, country variable and also i want to create interaction variable between player and country variable. Here sample dataset: Expected output: Thanks in advance Regards S Manoj
... View more