Frequencies for first 10,000 rows of cum_dose_unit variable in drug2014q4 dataset : Cumulative | dose to | first | reaction | unit | Freq. Percent Cum. ------------+----------------------------------- | 9,491 94.91 94.91 DF | 7 0.07 94.98 G | 2 0.02 95.00 GM | 1 0.01 95.01 GTT | 2 0.02 95.03 IU | 2 0.02 95.05 KIU | 1 0.01 95.06 MG | 470 4.70 99.76 MG/M**2 | 5 0.05 99.81 MG/M2 | 5 0.05 99.86 ML | 2 0.02 99.88 UG | 9 0.09 99.97 UG/KG | 3 0.03 100.00 ------------+----------------------------------- Total | 10,000 100.00 by Jean Roth , jroth@nber.org , 19 Apr 2017