Maps the normalized x axis onto angle and the normalized y axis onto radius, so lines, areas, and points become circular. This is the engine behind radar/spider charts, pie-like wedges, and circular bar charts.

CoordPolar(theta = "x", start = 0, direction = 1, inner = 0)

Arguments

theta

Which axis becomes the angle: "x" (default) or "y".

start

Angle in radians for normalized position 0 (default: 12 o'clock).

direction

1 for clockwise, -1 for counter-clockwise.

inner

Inner radius as a fraction of the outer radius (a donut hole); 0 fills to the center.

Value

An S7 object of class CoordPolar; usually built by coord_polar().