Skip to content
Prev 168073 / 398502 Next

lattice: reverse order of panel.lmline, panel.smooth

On Fri, Jan 23, 2009 at 3:00 PM, Dylan Beaudette
<debeaudette at ucdavis.edu> wrote:
type="g", "smooth", "r", etc. are all convenience shortcuts for other
panel functions (panel.grid, panel.loess, panel.lmline, respectively).
Whenever you find its use limiting, you should consider writing an
explicit panel function.

In this case, simply adding 'horizontal=TRUE' will suffice for the
smooth (it gets passed on to panel.loess), but not for panel.lmline
(maybe I should add it 'horizontal' as an argument to it too).

-Deepayan