Dummy Variable in R : <p>Ciao Everyone, </p>

<p>I would like to create a dummy variable in R. So I have a list of Italian regions, and a variable called mafia. The mafia variable is coded 1 in the regions with high levels of mafia infiltration and 0 in the regions with lower levels of mafia penetration. </p>

<p>Now, I would like to create a dummy that considers only the regions with high levels of mafia. (=1)</p>
