Is there a R function to calculate the seats in parliament given the total number of seats and the votes for each party -- for different methods including the method of D'Hont? http://en.wikipedia.org/wiki/D%27Hondt_method Thanks, thomas