sector: Draw Sector Polygon

View source: R/sector.R

sectorR Documentation

Draw Sector Polygon

Description

Draws sector polygon.

Usage

sector(s, e, r, v = 1000, ...)

Arguments

s

Numeric scalar of start angle (degrees).

e

Numeric scalar of end angle (degrees).

r

Numeric scalar of circle radius.

v

Numeric scalar of full-circle vertex count (default = 1000).

...

Additional arguments passed to polgyon.

Details

Draws a sector polygon given a start angle, end angle, and circle radius. The sector is drawn about the origin (i.e., x = 0, y = 0). Intended for use with template to generate detection and proportion plots.

Value

No return value.

See Also

circle for plotting circle polygons.

Examples


template(l=1)
sector(s=0,e=45,r=1)


LocaTT documentation built on June 14, 2026, 1:06 a.m.