I have a dataset that looks like this:
Observation | Age | Family members | Income |
---|---|---|---|
1 | 25 | 2 | 3k |
2 | 29 | 4 | 1k |
3 | 32 | Six | 3k |
3 | 32 | Five | 5k |
I'm a STATA user, so I've been stuck in this problem for a while. How can i convert the variable Family members into a numeric variable, since it has both numeric and character values.