File: logit.Rd

package info (click to toggle)
boot 1.2.33-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 968 kB
  • ctags: 1
  • sloc: makefile: 2
file content (31 lines) | stat: -rw-r--r-- 756 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
\name{logit}
\alias{logit}
\title{
Logit of Proportions
}
\description{
This function calculates the logit of proportions.
}
\usage{
logit(p)
}
\arguments{
\item{p}{
A numeric Splus object, all of whose values are in the range [0,1].  Missing
values (\code{NA}s) are allowed.
}}
\value{
A numeric object of the same type as \code{p} containing the logits of the input
values.
}
\details{
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.
}
\seealso{
\code{\link{inv.logit}}
}
\keyword{math}
% Converted by Sd2Rd version 1.15.