The R Project SVN R

Rev

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

Rev 59039 Rev 61433
Line 16... Line 16...
16
\arguments{
16
\arguments{
17
  \item{x}{either a two-dimensional contingency table in matrix form,
17
  \item{x}{either a two-dimensional contingency table in matrix form,
18
    or a factor object.}
18
    or a factor object.}
19
  \item{y}{a factor object; ignored if \code{x} is a matrix.}
19
  \item{y}{a factor object; ignored if \code{x} is a matrix.}
20
  \item{correct}{a logical indicating whether to apply continuity
20
  \item{correct}{a logical indicating whether to apply continuity
21
    correction when computing the test statistic.} 
21
    correction when computing the test statistic.}
22
}
22
}
23
\value{
23
\value{
24
  A list with class \code{"htest"} containing the following components:
24
  A list with class \code{"htest"} containing the following components:
25
  \item{statistic}{the value of McNemar's statistic.}
25
  \item{statistic}{the value of McNemar's statistic.}
26
  \item{parameter}{the degrees of freedom of the approximate
26
  \item{parameter}{the degrees of freedom of the approximate