Update freqtable.R