attachPresAbs function

Attach levels absent and present to a 0-1 vector.