View source: R/Math-Functions.R
invlogit | R Documentation |
Given a numeric object, return the invlogit of the values. Missing values (NAs) are allowed.
invlogit(x)
x |
a numeric object |
The invlogit is defined by exp(x) / (1+exp(x))
. Values in x of -Inf or Inf return invlogits
of 0 or 1 respectively.
Any NAs in the input will also be NAs in the output.
An object of the same type as x containing the invlogits of the input values.
invlogit(10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.