family.stanreg function

family method for stanreg objects