Description Usage Arguments Value Examples
Draws a data ellipse in panels
1 | gpanel.ellipse(x, y, ..., radius = 1, n = 100, type)
|
x |
|
y |
|
... |
called for its side effects of plotting
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
library(spida)
library(lattice)
library(latticeExtra)
# No groups or panels:
xyplot(mathach ~ ses, hs) + layer(gpanel.ellipse(...))
# Panels:
xyplot(mathach ~ ses | school, hs) + layer(gpanel.ellipse(...))
# Groups:
xyplot(mathach ~ ses, hs, groups = Sex) + glayer(gpanel.ellipse(...))
# Panels with groups:
xyplot(mathach ~ ses | school, hs, groups = Sex) + glayer(gpanel.ellipse(...))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.