On Fri, Sep 12, 2014 at 11:25 AM, Jim Lemon <j...@bitwrit.com.au> wrote:
> I can see how you would plot the points going from right to left (the easy > way), by plotting the next point on the arc with the least increase in > angle from the last point plotted. If this is the way you have worked out, I > think all that you have to do is to turn the party affiliation into a factor > (if > it is not already) and plot the points by the sorted numeric value of the > factor. You will probably want to adjust the levels to some political > dimensions before doing the sort. I'm interested in how you get exactly N seats in M rows that look as neat as that. My eyes are going funny trying to count the dots in each arc but there must be some nice algorithm for generating a sequence that sums to N, has M elements, and has a small variable difference between the row sizes to constrain the sum... Or am I overthinking this? Barry ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.