Frequencies for first 10,000 rows of scopewi2 variable in nhamcsopd2006 dataset : scope | procedure | #2 | Freq. Percent Cum. ------------+----------------------------------- 0000 | 9,985 99.85 99.85 3323 | 1 0.01 99.86 4513 | 5 0.05 99.91 4523 | 4 0.04 99.95 6812 | 1 0.01 99.96 6823 | 1 0.01 99.97 9999 | 3 0.03 100.00 ------------+----------------------------------- Total | 10,000 100.00 by Jean Roth , jroth@nber.org , 28 Mar 2016