freq - frequency counts and percentage
SYNOPSIS
DESCRIPTION
freq
generates a 3 column table containing
a row for each non-blank unique column entry,
the number of occurences of that entry,
and the frequency percent of the total non-blank entries.
EXAMPLE
% freq State < unixtable | sorttable -rn
count State percent
----- ------------- -------
40 California 51.9
10 Massachusetts 12.9
4 New York 5.1
3 New Jersey 3.8
3 Illinois 3.8
2 Texas 2.5
2 Pennsylvania 2.5
2 Ontario 2.5
2 Florida 2.5
1 Wisconsin 1.2
1 Washington 1.2
1 Utah 1.2
1 Oregon 1.2
1 Ohio 1.2
1 Georgia 1.2
1 Colorado 1.2
1 Arizona 1.2
1 Alabama 1.2