xy_list_to_polygon_list: Convert coordinate list of x and y into polygon list of x,y...

xy_list_to_polygon_listR Documentation

Convert coordinate list of x and y into polygon list of x,y coordinates

Description

Convert coordinate list of x and y into polygon list of x,y coordinates

Usage

xy_list_to_polygon_list(x, ...)

See Also

Other venndir polygons: bbox_polygon_list(), eulerr_to_polygon_list(), get_largest_polygon_list(), get_venn_polygon_shapes(), intersect_polygon_list(), labelr_polygon_list(), minus_polygon_list(), nudge_polygon_coords(), nudge_polygon_list(), plot_polygon_list(), polygon_areas(), polygon_circles(), polygon_ellipses(), polygon_list_labelr(), polygon_list_to_xy_list(), rescale_polygon_list(), simple_ellipse(), union_polygon_list()

Examples

counts <- c(A=1, B=2, `A&B`=3)
x <- eulerr::euler(counts)
polygon_list <- eulerr_to_polygon_list(x)
xy_list <- polygon_list_to_xy_list(polygon_list)
polygon_list2 <- xy_list_to_polygon_list(xy_list)
identical(polygon_list, polygon_list2)


jmw86069/venndir documentation built on June 15, 2024, 1:52 p.m.