The R Project SVN R

Rev

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

Rev 27442 Rev 27447
Line 46... Line 46...
46
    default, \code{shade} is \code{FALSE}, and simple mosaics are
46
    default, \code{shade} is \code{FALSE}, and simple mosaics are
47
    created.  Using \code{shade = TRUE} cuts absolute values at 2 and
47
    created.  Using \code{shade = TRUE} cuts absolute values at 2 and
48
    4.}
48
    4.}
49
  \item{margin}{a list of vectors with the marginal totals to be fit in
49
  \item{margin}{a list of vectors with the marginal totals to be fit in
50
    the log-linear model.  By default, an independence model is fitted.
50
    the log-linear model.  By default, an independence model is fitted.
51
    See \code{\link{loglin}} for further information.}
51
    See \code{\link[stats]{loglin}} for further information.}
52
  \item{cex.axis}{The magnification to be used for axis annotation,
52
  \item{cex.axis}{The magnification to be used for axis annotation,
53
    as a multiple of \code{par("cex")}.}
53
    as a multiple of \code{par("cex")}.}
54
  \item{las}{numeric; the style of axis labels, see \code{\link{par}}.}
54
  \item{las}{numeric; the style of axis labels, see \code{\link{par}}.}
55
  \item{type}{a character string indicating the type of residual to be
55
  \item{type}{a character string indicating the type of residual to be
56
    represented.  Must be one of \code{"pearson"} (giving components of
56
    represented.  Must be one of \code{"pearson"} (giving components of
Line 120... Line 120...
120
  information on various aspects of graphical methods for analyzing
120
  information on various aspects of graphical methods for analyzing
121
  categorical data, including mosaic plots.
121
  categorical data, including mosaic plots.
122
}
122
}
123
\seealso{
123
\seealso{
124
  \code{\link{assocplot}},
124
  \code{\link{assocplot}},
125
  \code{\link{loglin}}.
125
  \code{\link[stats]{loglin}}.
126
}
126
}
127
\examples{
127
\examples{
128
data(Titanic)
128
data(Titanic)
129
mosaicplot(Titanic, main = "Survival on the Titanic", color = TRUE)
129
mosaicplot(Titanic, main = "Survival on the Titanic", color = TRUE)
130
## Formula interface for tabulated data:
130
## Formula interface for tabulated data: