polygon_circles: Make polygon_list circles

polygon_circlesR Documentation

Make polygon_list circles

Description

Make polygon_list circles

Usage

polygon_circles(xcenter, ycenter, setnames = NULL, radius = 1, n = 60, ...)

Arguments

xcenter, ycenter

numeric vector that defines the x and y coordinate position of the center of each circle.

setnames

vector that contains names for each circle, stored as names() for each polygon. When setnames is NULL then index numbers are used.

radius

numeric vector that defines the radius of each circle. This vector is recycled to length(xcenter).

n

integer value indicating the number of subdivisions to use in the circle.

...

additional arguments are ignored.

Details

This function creates one or more circles as polygon_list list objects.

Value

JamPolygon object

See Also

Other JamPolygon: JamPolygon-class, Venndir-class, [,JamPolygon,ANY,ANY,ANY-method, add_orientation_JamPolygon(), area_JamPolygon(), bbox_JamPolygon(), buffer_JamPolygon(), check_JamPolygon(), check_Venndir(), eulerr_to_JamPolygon(), farthest_point_JamPolygon(), find_venn_overlaps_JamPolygon(), has_point_in_JamPolygon(), intersect_JamPolygon(), label_fill_JamPolygon(), label_outside_JamPolygon(), label_segment_JamPolygon(), labelr_JamPolygon(), minus_JamPolygon(), nearest_point_JamPolygon(), nudge_JamPolygon(), plot.JamPolygon(), point_in_JamPolygon(), polyclip_to_JamPolygon(), polygon_ellipses(), sample_JamPolygon(), split_JamPolygon(), union_JamPolygon(), update_JamPolygon()

Examples

circle_jp <- polygon_circles(c(3, 2), c(2, 3))
plot(circle_jp, fill=c("red", "gold"))


jmw86069/venndir documentation built on Dec. 14, 2024, 2:36 p.m.