https://github.com/cran/lattice
Raw File
Tip revision: 9816ad30e89ad1e2456fdffdce7a6056aceeded3 authored by Deepayan Sarkar on 05 October 2005, 00:00:00 UTC
version 0.12-10
Tip revision: 9816ad3
panel.bwplot.Rd
\name{panel.bwplot}
\alias{panel.bwplot}
\title{ Default Panel Function for bwplot }
\description{
  This is the default panel function for \code{bwplot}.
}
% \synopsis{
% panel.bwplot(x, y, box.ratio = 1,
%              horizontal = TRUE,
%              pch = box.dot$pch,
%              col = box.dot$col,
%              cex = box.dot$cex,
%              font = box.dot$font,
%              fontfamily = box.dot$fontfamily,
%              fontface = box.dot$fontface, 
%              fill = box.rectangle$fill,
%              varwidth = FALSE,
%              levels.fos = if (horizontal) sort(unique(y)) else sort(unique(x)),
%              coef = 1.5, do.out = TRUE, \dots)
% }
\usage{
panel.bwplot(x, y, box.ratio = 1,
             horizontal = TRUE,
             pch, col, cex, 
             font, fontfamily, fontface, 
             fill, varwidth = FALSE,
             levels.fos, coef = 1.5,
             do.out = TRUE, \dots)
}
\arguments{
  \item{x, y}{ numeric vector or factor. Boxplots drawn for each unique value of
    \code{y} (\code{x}) if \code{horizontal} is \code{TRUE} (\code{FALSE})}
  \item{box.ratio}{ ratio of box height to inter box space}
  \item{horizontal}{
    logical. If FALSE, the plot is \sQuote{transposed} in the sense that
    the behaviours of x and y are switched. x is now the
    \sQuote{factor}.  Interpretation of other arguments change
    accordingly. See documentation of \code{\link{bwplot}} for a fuller
    explanation.
  }
  \item{pch, col, cex, font, fontfamily, fontface}{ graphical parameters
    controlling the dot.  \code{pch="|"} is treated specially, by
    replacing the dot with a line (similar to \code{\link{boxplot}})
  }
  \item{fill}{ color to fill the boxplot}
  \item{varwidth}{ logical. If TRUE, widths of boxplots are proportional
    to the number of points used in creating it.}
  \item{coef, do.out}{ passed to \code{\link{boxplot.stats}}}
  \item{levels.fos}{ numeric values corresponding to positions of the
    factor or shingle variable.  For internal use. }
  \item{\dots}{
    further arguments, ignored.
  }
}
\details{
  Creates Box and Whisker plot of \code{x} for every level of
  \code{y}. The actual boxplot statistics are calculated using
  \code{boxplot.stats}. Note that most arguments controlling the display
  can be supplied to the high-level \code{bwplot} call directly.
}

\seealso{
  \code{\link{bwplot}}, \code{\link{boxplot.stats}}
}
\author{ Deepayan Sarkar \email{Deepayan.Sarkar@R-project.org}}
\keyword{dplot}
















back to top