SCM

SCM Repository

[latticeextra] Diff of /pkg/man/panel.quantile.Rd
ViewVC logotype

Diff of /pkg/man/panel.quantile.Rd

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 64, Mon Dec 21 06:37:33 2009 UTC revision 69, Wed Dec 23 00:29:21 2009 UTC
# Line 9  Line 9 
9    function from \pkg{ggplot2}.    function from \pkg{ggplot2}.
10  }  }
11  \usage{  \usage{
12  panel.quantile(x, y, formula = y ~ x, method = "rq", ...,  panel.quantile(x, y, form = y ~ x, method = "rq", ...,
13      tau = 0.5, ci = FALSE, ci.type = "default", level = 0.95,      tau = 0.5, ci = FALSE, ci.type = "default", level = 0.95,
14      n = 100, col = plot.line$col, col.se = col,      n = 100, col = plot.line$col, col.se = col,
15      lty = plot.line$lty, lwd = plot.line$lwd,      lty = plot.line$lty, lwd = plot.line$lwd,
# Line 23  Line 23 
23  \arguments{  \arguments{
24    \item{x, y}{    \item{x, y}{
25      data points. If these are missing, they will be looked for in the      data points. If these are missing, they will be looked for in the
26      \code{formula} environment. So in many cases you can skip these if      environment of \code{form}. So in many cases you can skip these if
27      passing \code{formula}. In fact, for convenience, the \code{formula}      passing \code{form}. In fact, for convenience, the formula
28      can be passed as the first argument (i.e. \code{x}).      can be passed as the first argument (i.e. \code{x}).
29    }    }
30    \item{formula, method}{    \item{form, method}{
31      the model is constructed (approximately) as      the model is constructed (approximately) as
32      \code{method(formula, tau = tau, data = list(x=x, y=y), ...)}.      \code{method(form, tau = tau, data = list(x=x, y=y), ...)}.
33    
34      See the Examples section for common choices.      See the Examples section for common choices.
35    }    }
# Line 79  Line 79 
79    \code{\link[ggplot2]{stat_quantile}}    \code{\link[ggplot2]{stat_quantile}}
80  }  }
81  \examples{  \examples{
82    library("quantreg")
83    
84    set.seed(1)
85  xy <- data.frame(x = runif(100), y = rt(100, df = 5))  xy <- data.frame(x = runif(100), y = rt(100, df = 5))
86  xyplot(y ~ x, xy) +  xyplot(y ~ x, xy) +
87    layer(panel.quantile(x, y, tau = c(.05, .5, .95)))    layer(panel.quantile(x, y, tau = c(.05, .5, .95)))

Legend:
Removed from v.64  
changed lines
  Added in v.69

R-Forge@R-project.org
ViewVC Help
Powered by ViewVC 1.0.0  
Thanks to:
Vienna University of Economics and Business University of Wisconsin - Madison Powered By FusionForge