| Line 36... |
Line 36... |
| 36 |
\item{subset}{an optional vector specifying a subset of observations
|
36 |
\item{subset}{an optional vector specifying a subset of observations
|
| 37 |
to be used.}
|
37 |
to be used.}
|
| 38 |
\item{na.action}{a function which indicates what should happen when
|
38 |
\item{na.action}{a function which indicates what should happen when
|
| 39 |
the data contain \code{NA}s. Defaults to
|
39 |
the data contain \code{NA}s. Defaults to
|
| 40 |
\code{getOption("na.action")}.}
|
40 |
\code{getOption("na.action")}.}
|
| 41 |
\item{\dots}{further arguments to be passed to or from methods.}
|
41 |
\item{\dots}{further arguments to be passed to or from methods.}
|
| 42 |
}
|
42 |
}
|
| 43 |
\details{
|
43 |
\details{
|
| 44 |
\code{friedman.test} can be used for analyzing unreplicated complete
|
44 |
\code{friedman.test} can be used for analyzing unreplicated complete
|
| 45 |
block designs (i.e., there is exactly one observation in \code{y}
|
45 |
block designs (i.e., there is exactly one observation in \code{y}
|
| 46 |
for each combination of levels of \code{groups} and \code{blocks})
|
46 |
for each combination of levels of \code{groups} and \code{blocks})
|
| 47 |
where the normality assumption may be violated.
|
47 |
where the normality assumption may be violated.
|
| 48 |
|
48 |
|
| 49 |
The null hypothesis is that apart from an effect of \code{blocks},
|
49 |
The null hypothesis is that apart from an effect of \code{blocks},
|
| 50 |
the location parameter of \code{y} is the same in each of the
|
50 |
the location parameter of \code{y} is the same in each of the
|
| 51 |
\code{groups}.
|
51 |
\code{groups}.
|
| 52 |
|
52 |
|
| 53 |
If \code{y} is a matrix, \code{groups} and \code{blocks} are
|
53 |
If \code{y} is a matrix, \code{groups} and \code{blocks} are
|
| 54 |
obtained from the column and row indices, respectively. \code{NA}'s
|
54 |
obtained from the column and row indices, respectively. \code{NA}'s
|
| 55 |
are not allowed in \code{groups} or \code{blocks}; if \code{y}
|
55 |
are not allowed in \code{groups} or \code{blocks}; if \code{y}
|
| 56 |
contains \code{NA}'s, corresponding blocks are removed.
|
56 |
contains \code{NA}'s, corresponding blocks are removed.
|