On 5/18/06, ken knoblauch <[EMAIL PROTECTED]> wrote:
> Sorry, some things got garbled in that request for help that might make
> my request
> unintelligible, probably it being too late at night when I posted, here
> is the corrected function
> call for which I would like to learn how to add horizontal grid lines.
> Any suggestions
> would be appreciated. Apologies for the posting error
>
> xyplot(est ~ STE, data = all, groups = AREA, type = "b",
> auto.key = list(space = "right"))
Write your own panel function, e.g.
xyplot(est ~ STE, data = all, groups = AREA, type = "b",
panel = function(...) {
panel.grid(h = -1, v = 0)
panel.xyplot(...)
},
auto.key = list(space = "right"))
See ?panel.grid for more options.
Deepayan
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html