For the record, I left out a key word in my prior "explanation", which I
have corrected below. I also needed to clarify something, as my original
wording is confusing. Sorry about that.
Bert
On Tue, Nov 5, 2019 at 11:09 AM Bert Gunter wrote:
> Lattice functions pass down their **unrecognized**
Here's how you pass an argument down to the panel function.
foo <- runif(30,0,5)
y <- rnorm(30, mean = 10)
xyplot(y~foo,
panel = function(x,...) {
panel.xyplot(x,..., col = "red")
panel.rug(x, col="black")
})
Cheers,
Bert
Bert Gunter
"The trouble with having a
2 matches
Mail list logo