Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

plotCumfreq

Cumulative frequency plots


Description

A high-level function for producing a cumulative frequency plot using lattice graphics.

Usage

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, ...)

Arguments

x

a formula or numeric vector

data

a data frame in which x is evaluated if x is a formula.

...

other lattice arguments

subscripts

as in lattice plots

type

smooth or step-function?

groups

grouping variable

See Also

Examples

plotCumfreq(~eruptions, faithful, xlab = 'duration of eruptions')

mosaic

Project MOSAIC Statistics and Mathematics Teaching Utilities

v1.8.3
GPL (>= 2)
Authors
Randall Pruim [aut, cre], Daniel T. Kaplan [aut], Nicholas J. Horton [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.