This is really too broad of a question. The problem is we don't know how much better of an area you're talking about and what the numbers are. Overall if it's not much more money, I would opt for the better area. Typically if you take a lesser area you run the risk of it continuing to be a bad area or declining even more. However maybe you pick an area and is not so good but it may be on the upswing.
I think the key for me is that you are going to be living in the units. How bad of an area can you tolerate? I also would worry about my wife being home alone if the area is not as good. If you're going to be living in the units then keep in mind the tenants will probably be knocking on your door. If you've never been a landlord before this might be difficult for you, especially if it's an area with lower quality tenants.
Unless the numbers are substantially better for you in the lower income area I would opt to go with the more expensive property. In the long run it will be less frustration and you may actually make more money because you will have better quality tenants and less turnover. Especially since you will probably make some management mistakes since is your first property.
Hopefully someone else can jump in here as I don't consider myself a super experienced person however I have been the landlord for over 30 years and have dealt with good tenants in bad tenants.