resistance is a function of the specific resistance constant (or conductivity constant, if you like)that depends on material and temperature, the length and the cross section of the wire. density does not play a role if the material is solid (as it should be constant for constant temperature). porosity changes things a little bit, but can be accounted for by reducing the cross section accordingly. the material behaviour remains the same, though.
thekraut, not doubting what you say for a second, I'm struggling to figure how the density could change if the material is the same? (talking about a solid of course) It would need to be a different material or am I too old for this science?