change logit in LinkFunction back to a double, not a label