logit
From boot v1.3-24
by Brian Ripley
Logit of Proportions
This function calculates the logit of proportions.
- Keywords
- math
Usage
logit(p)
Arguments
- p
A numeric Splus object, all of whose values are in the range [0,1]. Missing values (
NA
s) are allowed.
Details
If any elements of p
are outside the unit interval then an error message
is generated. Values of p
equal to 0 or 1 (to within machine precision)
will return -Inf
or Inf
respectively. Any NA
s in the input will also
be NA
s in the output.
Value
A numeric object of the same type as p
containing the logits of the input
values.
See Also
Community examples
Looks like there are no examples yet.