ecdfplot {latticeExtra} | R Documentation |
Conditional displays of Empirical Cumulative Distribution Functions
ecdfplot(x, data, ...) ## S3 method for class 'formula' ecdfplot(x, data, prepanel = "prepanel.ecdfplot", panel = "panel.ecdfplot", ylab, ...) ## S3 method for class 'numeric' ecdfplot(x, data = NULL, xlab, ...) prepanel.ecdfplot(x, f.value = NULL, ...) panel.ecdfplot(x, f.value = NULL, type = "s", groups = NULL, qtype = 7, ref = TRUE, ...)
x |
For A similar interpretation holds for |
data |
For the |
prepanel, panel |
panel and prepanel function used to create the display. |
xlab, ylab |
axis labels; typically a character string or an expression. |
groups |
a grouing variable of the same length as |
f.value, qtype |
Defines how quantiles are calculated. See
|
ref |
logical, whether a reference line should be drawn at 0 and 1 |
type |
how the plot is rendered; see
|
... |
extra arguments, passed on as appropriate. Standard
lattice arguments as well as arguments to |
ecdfplot
produces an object of class "trellis"
. The
update
method can be used to update components of the object and
the print
method (usually called by default) will plot it on an
appropriate plotting device.
Deepayan Sarkar deepayan.sarkar@r-project.org
qqmath
for Quantile plots which are
more generally useful, especially when comparing with a theoretical
distribution other than uniform. An ECDF plot is essentially a
transposed version (i.e., with axes switched) of a uniform quantile
plot.
data(singer, package = "lattice") ecdfplot(~height | voice.part, data = singer)