inv.logit {boot} | R Documentation |
Given a numeric object return the inverse logit of the values.
inv.logit(x)
x |
A numeric object. Missing values (NA s) are allowed.
|
The inverse logit is defined by exp(x)/(1+exp(x))
. Values in x
of
-Inf
or Inf
return logits of 0 or 1 respectively. Any NA
s in the input
will also be NA
s in the output.
An object of the same type as x
containing the inverse logits of the
input values.
logit
, plogis
which is the underlying function.