1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
|
\name{F.1 panel.dotplot}
\alias{panel.dotplot}
\title{ Default Panel Function for dotplot}
\description{
Default panel function for \code{dotplot}.
}
\usage{
panel.dotplot(x, y, horizontal = TRUE,
pch, col, lty, lwd, col.line,
levels.fos,
groups = NULL,
\dots,
grid = lattice.getOption("default.args")$grid,
identifier = "dotplot")
}
\arguments{
\item{x,y}{ variables to be plotted in the panel. Typically y is the
\sQuote{factor} }
\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, lty, lwd, col.line}{ graphical parameters}
\item{levels.fos}{ locations where reference lines will be drawn }
\item{groups}{ grouping variable (affects graphical parameters)}
\item{\dots}{
extra parameters, passed to \code{panel.xyplot} which is responsible
for drawing the foreground points (\code{panel.dotplot} only draws
the background reference lines).
}
\item{grid}{
A logical flag, or list specifying whether and how a background grid
should be drawn. In its general form \code{grid} can be a list of
arguments to be supplied to \code{\link{panel.grid}}, which is
called with those arguments. If \code{FALSE}, no grid lines are
drawn. \code{grid = TRUE} is roughly equivalent to \code{list(h = 0,
v = -1)} if \code{horizontal = TRUE} and \code{list(h = -1, v = 0)}
if \code{horizontal = FALSE}. In other words, grid lines are drawn
only for the numeric axis, as reference lines for the categorical
axis are drawn regardless of the value of \code{grid}.
}
\item{identifier}{
A character string that is prepended to the names of grobs
that are created by this panel function.
}
}
\details{
Creates (possibly grouped) Dotplot of \code{x} against \code{y} or
vice versa
}
\seealso{\code{\link{dotplot}}}
\author{ Deepayan Sarkar \email{Deepayan.Sarkar@R-project.org}}
\keyword{dplot}
|