Description Usage Arguments Details Value

logit() performs the logit function expit() performs the inverse logit function

1 2 |

`p` |
A vector of probabilities on the interval [0,1] to be transformed into numbers on the real line. |

`x` |
A vector of numbers on the real line to be transformed into probabilities. |

The `logit`

function is log(p / (1 - p)).
The `expit`

function is exp(x)/(1 + exp(x)).

`logit`

returns a vector of real numbers.
`expit`

returns a vector of probabilities.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.