seats | R Documentation |
Compute seat positions in a semicircular parliament
seats(N, M, r0 = 2.5)
N |
Total number of seats. |
M |
Number of semicircular arcs on which to distribute the seats. |
r0 |
Radius of the inner arc in user units. |
A data frame including:
x |
The x positions of the seats to be plotted on semi-circular arcs. |
y |
The y positions of the seats to be plotted on semi-circular arcs. |
r |
The row numbers for each seat. |
theta |
The angle of each seat, going from pi to zero radians. |
Duncan Murdoch and Barry Rowlingson
election
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.