repTable function

JK1, JK2 and BRR for frequency tables and trend estimation.