- If you specify the family object in parameters only, you will use the default link to fit the model. However, to use an alternative link function, you can add a link argument. For example:
> lm1 = glm(vs ~ hp+mpg+gear,data=mtcars, family=binomial(link="probit"))
- If you would like to know how many alternative links you can use, please refer to the family document via the help function:
> ?family