plotCumfreq | R Documentation |
A high-level function for producing a cumulative frequency plot using
lattice
graphics.
plotCumfreq(x, data, ...)
## S3 method for class 'formula'
plotCumfreq(x, data = NULL, subscripts, ...)
## Default S3 method:
plotCumfreq(x, ...)
prepanel.cumfreq(x, ...)
panel.cumfreq(x, type = c("smooth", "step"), groups = NULL, ...)
x |
a formula or numeric vector |
data |
a data frame in which |
... |
other lattice arguments |
subscripts |
as in lattice plots |
type |
smooth or step-function? |
groups |
grouping variable |
A plot of the empirical cumulative distribution function for sample values specified in x
.
histogram()
, densityplot()
plotCumfreq(~eruptions, faithful, xlab = 'duration of eruptions')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.