Learn R Programming

plotrix (version 3.8-2)

seats: Arrange N seats in M semicircular rows

Description

Compute seat positions in a semicircular parliament

Usage

seats(N, M, r0 = 2.5)

Value

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.

Arguments

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.

Author

Duncan Murdoch and Barry Rowlingson

See Also

election