<put algortithm description here>
processing.runalg('r:frequencytable', layer, field, r_console_output)