powered by
A high-level function for producing a cumulative frequency plot using lattice graphics.
lattice
plotCumfreq(x, data, ...)# S3 method for formula plotCumfreq(x, data = NULL, subscripts, ...)# S3 method for default plotCumfreq(x, ...)prepanel.cumfreq(x, ...)panel.cumfreq(x, type = c("smooth", "step"), groups = NULL, ...)
# S3 method for formula plotCumfreq(x, data = NULL, subscripts, ...)
# S3 method for default plotCumfreq(x, ...)
prepanel.cumfreq(x, ...)
panel.cumfreq(x, type = c("smooth", "step"), groups = NULL, ...)
A plot of the empirical cumulative distribution function for sample values specified in x.
x
a formula or numeric vector
a data frame in which x is evaluated if x is a formula.
other lattice arguments
as in lattice plots
smooth or step-function?
grouping variable
histogram(), densityplot()
histogram()
densityplot()
plotCumfreq(~eruptions, faithful, xlab = 'duration of eruptions')
Run the code above in your browser using DataLab