Hi I have a column of encoded string values that contains different phrases (1,287,540) and 803 contain 'na'
Is there a function to create a dummy variable that will code all phrases (1,287,540) as 1 EXCEPT the phrase 'na' which is to be coded as 2 ?
Thanks
Is there a function to create a dummy variable that will code all phrases (1,287,540) as 1 EXCEPT the phrase 'na' which is to be coded as 2 ?
Thanks
Comment