SCM

SCM Repository

[latticeextra] Diff of /www/man/panel.quantile.html
ViewVC logotype

Diff of /www/man/panel.quantile.html

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

revision 142, Tue May 18 05:26:54 2010 UTC revision 143, Tue May 25 06:54:57 2010 UTC
# Line 13  Line 13 
13    
14  <p>  <p>
15  Plot a quantile regression line with standard error bounds, using the  Plot a quantile regression line with standard error bounds, using the
16  <span class="pkg">quantreg</span> package. This is based on the <code>stat_quantile</code>  <span class="pkg">quantreg</span> package. This is based on the
17  function from <span class="pkg">ggplot2</span>.  <code><a href="../../ggplot2/html/stat_quantile.html">stat_quantile</a></code> function from <span class="pkg">ggplot2</span>.
18  </p>  </p>
19    
20    
# Line 56  Line 56 
56  <td>  <td>
57    
58  further arguments passed on to the model function (<code>method</code>),  further arguments passed on to the model function (<code>method</code>),
59  typically <code>rq</code>.  typically <code><a href="../../quantreg/html/rq.html">rq</a></code>.
60  </td></tr>  </td></tr>
61  <tr valign="top"><td><code>tau</code></td>  <tr valign="top"><td><code>tau</code></td>
62  <td>  <td>
# Line 71  Line 71 
71  <td>  <td>
72    
73  estimate a confidence interval at level <code>level</code> using the  estimate a confidence interval at level <code>level</code> using the
74  method <code>ci.type</code>; see <code>predict.rq</code>.  method <code>ci.type</code>; see <code><a href="../../quantreg/html/predict.rq.html">predict.rq</a></code>.
75  </td></tr>  </td></tr>
76  <tr valign="top"><td><code>n</code></td>  <tr valign="top"><td><code>n</code></td>
77  <td>  <td>
# Line 114  Line 114 
114  Felix Andrews <a href="mailto:felix@nfrac.org">felix@nfrac.org</a>  Felix Andrews <a href="mailto:felix@nfrac.org">felix@nfrac.org</a>
115  </p>  </p>
116  <p>  <p>
117  Based on <code>stat_quantile</code> by Hadley Wickham.  Based on <code><a href="../../ggplot2/html/stat_quantile.html">stat_quantile</a></code> by Hadley Wickham.
118  </p>  </p>
119    
120    
121  <h3>See Also</h3>  <h3>See Also</h3>
122    
123  <p>  <p>
124  <code>rq</code>,  <code><a href="../../quantreg/html/rq.html">rq</a></code>,
125  <code><a href="#panel.smoother">panel.smoother</a></code>,  <code><a href="#panel.smoother">panel.smoother</a></code>,
126  <code>stat_quantile</code>  <code><a href="../../ggplot2/html/stat_quantile.html">stat_quantile</a></code>
127  </p>  </p>
128    
129    
# Line 147  Line 147 
147    
148  xyplot(y ~ x, xy) +  xyplot(y ~ x, xy) +
149    layer(panel.quantile(x, y, tau = c(.5, .9, .1), superpose = TRUE))    layer(panel.quantile(x, y, tau = c(.5, .9, .1), superpose = TRUE))
   
150  update(trellis.last.object(),  update(trellis.last.object(),
151    auto.key = list(text = paste(c(50,90,10), "% quantile"),    auto.key = list(text = paste(c(50,90,10), "% quantile"),
152                    points = FALSE, lines = TRUE))                    points = FALSE, lines = TRUE))
# Line 157  Line 156 
156  #  layer(panel.quantile(y ~ qss(x, lambda=1), method = "rqss"))  #  layer(panel.quantile(y ~ qss(x, lambda=1), method = "rqss"))
157  </pre>  </pre>
158    
159  <div align="center">[Package <em>latticeExtra</em> version 0.6-10 <a href="00Index.html">Index</a>]</div>  <div align="center">[Package <em>latticeExtra</em> version 0.6-12 <a href="00Index.html">Index</a>]</div>
160  </body></html>  </body></html>

Legend:
Removed from v.142  
changed lines
  Added in v.143

root@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