\Header{logit}{Logit of Proportions}
\keyword{math}{logit}
\begin{Description}\relax
This function calculates the logit of proportions.
\end{Description}
\begin{Usage}
\begin{verbatim}
logit(p)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{p}] A numeric Splus object, all of whose values are in the range [0,1].  Missing
values (\code{NA}s) are allowed.

\end{ldescription}
\end{Arguments}
\begin{Details}\relax
If any elements of \code{p} are outside the unit interval then an error message
is generated.  Values of \code{p} equal to 0 or 1 (to within machine precision)
will return \code{-Inf} or \code{Inf} respectively.  Any \code{NA}s in the input will also
be \code{NA}s in the output.
\end{Details}
\begin{Value}
A numeric object of the same type as \code{p} containing the logits of the input
values.
\end{Value}
\begin{SeeAlso}\relax
\code{\Link{inv.logit}}
\end{SeeAlso}

