The function transforms a variable from the observation scale (probability or count) to the link scale.

1 |

`x` |
A vector of real numbers. |

`type` |
A character string. Legal values are “cloglog”, “log” and “logit”. |

*logit(x) = log(x / (1 - x))*

*cloglog(x) = log(-log(1 - x ))*

`invlink`

1 2 3 4 5 6 7 8 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.