Rev 5214 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
\name{F_1_panel.densityplot}\alias{panel.densityplot}\title{ Default Panel Function for densityplot }\description{This is the default panel function for \code{densityplot}.}\usage{panel.densityplot(x, darg, plot.points = "jitter", ref = FALSE,groups = NULL, weights = NULL,jitter.amount, type, \dots)}\arguments{\item{x}{ data points for which density is to be estimated }\item{darg}{list of arguments to be passed to the \code{density}function. Typically, this should be a list with zero or more of thefollowing components : \code{bw}, \code{adjust}, \code{kernel},\code{window}, \code{width}, \code{give.Rkern}, \code{n},\code{from}, \code{to}, \code{cut}, \code{na.rm} (see\code{\link{density}} for details)}\item{plot.points}{logical specifying whether or not the data points should be plottedalong with the estimated density. Alternatively, a character stringspecifying how the points should be plotted. Meaningful values are\code{"rug"}, in which case \code{\link{panel.rug}} is used to plota \sQuote{rug}, and \code{"jitter"}, in which case the points arejittered vertically to better distinguish overlapping points.}\item{ref}{ logical, whether to draw x-axis }\item{groups}{ an optional grouping variable. If present,\code{\link{panel.superpose}} will be used instead to display eachsubgroup }\item{weights}{ numeric vector of weights for the densitycalculations. If this is specified, the \code{\dots} part mustalso include a \code{subscripts} argument that matches the weightsto \code{x}. }\item{jitter.amount}{when \code{plot.points="jitter"}, the value to use as the\code{amount} argument to \code{\link{jitter}}.}\item{type}{\code{type} argument used to plot points, if requested.This is not expected to be useful, it is available mostly to protecta \code{type} argument, if specified, from affecting the densitycurve.}\item{\dots}{ extra graphical parameters. Note that additionalarguments to \code{\link{panel.rug}} cannot be passed on through\code{panel.densityplot}. }}\author{ Deepayan Sarkar \email{Deepayan.Sarkar@R-project.org}}\seealso{\code{\link{densityplot}},\code{\link{jitter}}}\keyword{dplot}