panel.dell | R Documentation |
This is an experiment in writing a function that can be
called via layer or glayer without further complications
e.g. xyplot(......,labels = rownames(data)) + layer(panel.dell(...))
or xyplot(....., labels = rownames(data), subscripts = T) + glayer(panel.dell(...))
.
panel.dell(x, y, radius = 1, subscripts, type = "l", ...)
x , y |
points to generate data ellipse |
radius |
default 1 |
... |
NOTE: may specify anything you don't want passed through ... |
## Not run:
library(latticeExtra)
xyplot(mathach ~ ses, hs) + layer(panel.dell(..., col='red',lwd=2))
xyplot(mathach ~ ses | school, hs) + layer(panel.dell(...))
xyplot(mathach ~ ses , hs, groups = school) + glayer(panel.dell(...,lwd=2))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.