| Line 36... |
Line 36... |
| 36 |
\item{optional}{a logical controlling whether row names are set.
|
36 |
\item{optional}{a logical controlling whether row names are set.
|
| 37 |
Currently not used.}
|
37 |
Currently not used.}
|
| 38 |
}
|
38 |
}
|
| 39 |
\value{
|
39 |
\value{
|
| 40 |
\code{table()} returns a \emph{contingency table}, an object of
|
40 |
\code{table()} returns a \emph{contingency table}, an object of
|
| 41 |
\code{\link[base]{class}} \code{"table"}; see the \code{\link{print}}
|
41 |
\code{\link[base]{class}} \code{"table"}, an array of integer values.
|
| 42 |
method's separate documentation.
|
- |
|
| 43 |
|
42 |
|
| 44 |
There is a \code{summary} method for objects created by \code{table}
|
43 |
There is a \code{summary} method for objects created by \code{table}
|
| 45 |
or \code{\link[stats]{xtabs}}, which gives basic information and performs a
|
44 |
or \code{\link[stats]{xtabs}}, which gives basic information and performs a
|
| 46 |
chi-squared test for independence of factors (note that the function
|
45 |
chi-squared test for independence of factors (note that the function
|
| 47 |
\code{\link[stats]{chisq.test}} in package \pkg{ctest} currently only
|
46 |
\code{\link[stats]{chisq.test}} in package \pkg{ctest} currently only
|