https://github.com/cran/lattice
Raw File
Tip revision: 8a39a22bdaf24783d74cfb577996ba6b11d96233 authored by Deepayan Sarkar on 03 January 2008, 00:00:00 UTC
version 0.17-4
Tip revision: 8a39a22
panel.qqmathline.Rd
\name{panel.qqmathline}
\alias{panel.qqmathline}
\title{Useful panel function with qqmath}
\description{
  Useful panel function with qqmath. Draws a line passing through the
  points (usually) determined by the .25 and .75 quantiles of the sample
  and the theoretical distribution.
}
\usage{
panel.qqmathline(x, y = x,
                 distribution = qnorm,
                 p = c(0.25, 0.75),
                 qtype = 7,
                 groups = NULL, 
                 \dots)
}
\arguments{
  \item{x}{ The original sample, possibly reduced to a fewer number of
    quantiles, as determined by the \code{f.value} argument to
    \code{qqmath}
  }
  \item{y}{
    an alias for \code{x} for backwards compatibility
  }
  \item{distribution}{
    quantile function for reference theoretical distribution.
  }
  \item{p}{
    numeric vector of length two, representing probabilities.
    Corresponding quantile pairs define the line drawn.
  }
  \item{qtype}{
    the \code{type} of quantile computation used in
    \code{\link{quantile}}
  }
  \item{groups}{
    optional grouping variable.  If non-null, a line will be drawn for
    each group.
  }
  \item{\dots}{other arguments.}
}
\author{Deepayan Sarkar \email{Deepayan.Sarkar@R-project.org}}
\seealso{
  \code{\link{prepanel.qqmathline}},
  \code{\link{qqmath}},
  \code{\link{quantile}}
}
\keyword{dplot}
back to top