| Line 27... |
Line 27... |
| 27 |
\item{ylab}{a label for the y axis. Defaults to the name (if any) of
|
27 |
\item{ylab}{a label for the y axis. Defaults to the name (if any) of
|
| 28 |
the column dimension in \code{x}.}
|
28 |
the column dimension in \code{x}.}
|
| 29 |
}
|
29 |
}
|
| 30 |
\details{
|
30 |
\details{
|
| 31 |
For a two-way contingency table, the signed contribution to Pearson's
|
31 |
For a two-way contingency table, the signed contribution to Pearson's
|
| 32 |
\eqn{\chi^2}{chi^2} for cell \eqn{i, j} is \eqn{d_{ij} = (f_{ij} -
|
32 |
\eqn{\chi^2} for cell \eqn{i, j} is \eqn{d_{ij} = (f_{ij} -
|
| 33 |
e_{ij}) / \sqrt{e_{ij}}}{d_{ij} = (f_{ij} - e_{ij}) / sqrt(e_{ij})},
|
33 |
e_{ij}) / \sqrt{e_{ij}}}{d_{ij} = (f_{ij} - e_{ij}) / sqrt(e_{ij})},
|
| 34 |
where \eqn{f_{ij}} and \eqn{e_{ij}} are the observed and expected
|
34 |
where \eqn{f_{ij}} and \eqn{e_{ij}} are the observed and expected
|
| 35 |
counts corresponding to the cell. In the Cohen-Friendly association
|
35 |
counts corresponding to the cell. In the Cohen-Friendly association
|
| 36 |
plot, each cell is represented by a rectangle that has (signed) height
|
36 |
plot, each cell is represented by a rectangle that has (signed) height
|
| 37 |
proportional to \eqn{d_{ij}} and width proportional to
|
37 |
proportional to \eqn{d_{ij}} and width proportional to
|