cumfreq() — Cumulative frequency

A rising line of the running total up to each value.

plot(edges, cumsum(counts))

Key idea

Definition

lower edge of the median class
the total count
cumulative count before that class
frequency of that class
the class width

In plain words

Keep a running tally as you move right; the line climbs step by step until it reaches everyone.

Where you'd use it

Frequently asked questions

Can cumulative frequency go down?
No — it only ever increases. A drop means a data-entry error.