SCM Repository

[latticeextra] Diff of /www/man/panel.smoother.html
 [latticeextra] / www / man / panel.smoother.html

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

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 smoothing line with standard error bounds.  Plot a smoothing line with standard error bounds.
16  This is based on the <code>stat_smooth</code>  This is based on the <code><a href="../../ggplot2/html/stat_smooth.html">stat_smooth</a></code>
17  function from <span class="pkg">ggplot2</span>.  function from <span class="pkg">ggplot2</span>.
18  </p>  </p>
19
# Line 98  Line 98
98  Felix Andrews <a href="mailto:felix@nfrac.org">felix@nfrac.org</a>  Felix Andrews <a href="mailto:felix@nfrac.org">felix@nfrac.org</a>
99  </p>  </p>
100  <p>  <p>
101  Based on <code>stat_smooth</code> by Hadley Wickham.  Based on <code><a href="../../ggplot2/html/stat_smooth.html">stat_smooth</a></code> by Hadley Wickham.
102  </p>  </p>
103
104
# Line 107  Line 107
107  <p>  <p>
108  <code>panel.loess</code>,  <code>panel.loess</code>,
109  <code><a href="#panel.quantile">panel.quantile</a></code>,  <code><a href="#panel.quantile">panel.quantile</a></code>,
110  <code>stat_smooth</code>  <code><a href="../../ggplot2/html/stat_smooth.html">stat_smooth</a></code>
111  </p>  </p>
112
113
# Line 124  Line 124
124         panel.smoother(..., span = 0.9)         panel.smoother(..., span = 0.9)
125  })  })
126

127  ## per-group layers with glayer (pass `...` to get styles)  ## per-group layers with glayer (pass `...` to get styles)
128  xyplot(y + y2 ~ x, xy) +  xyplot(y + y2 ~ x, xy) +
129    glayer(panel.smoother(...))    glayer(panel.smoother(...))
# Line 145  Line 144
144    layer(panel.smoother(x, y, method = "lm"), style = 2)    layer(panel.smoother(x, y, method = "lm"), style = 2)
145  </pre>  </pre>
146
147  <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>
148  </body></html>  </body></html>

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