The R Project SVN R

Rev

Rev 59039 | Rev 74265 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 59039 Rev 61160
Line 111... Line 111...
111
  \emph{Statistics in Medicine} \bold{17}, 873--890.
111
  \emph{Statistics in Medicine} \bold{17}, 873--890.
112
}
112
}
113
\seealso{\code{\link{binom.test}} for an \emph{exact} test of a binomial
113
\seealso{\code{\link{binom.test}} for an \emph{exact} test of a binomial
114
  hypothesis.}
114
  hypothesis.}
115
\examples{
115
\examples{
116
heads <- rbinom(1, size=100, prob = .5)
116
heads <- rbinom(1, size = 100, prob = .5)
117
prop.test(heads, 100)          # continuity correction TRUE by default
117
prop.test(heads, 100)          # continuity correction TRUE by default
118
prop.test(heads, 100, correct = FALSE)
118
prop.test(heads, 100, correct = FALSE)
119
 
119
 
120
## Data from Fleiss (1981), p. 139.
120
## Data from Fleiss (1981), p. 139.
121
## H0: The null hypothesis is that the four populations from which
121
## H0: The null hypothesis is that the four populations from which