Create a new variable for place of residence, classifying everyone as residing in Mumbai or somewhere else (i.e., group guj, delhi, etc., into a single “Other” category). I have an existing data set in which one column is named as address: in which diff states are mentioned Now I need to group them in two only one mumbai and rest of all in other What code should be written?
... View more