Learn R Programming

ggVennDiagram (version 0.5.0)

two_dimension_circle_regions: Coordinates of polygon regions/centers for venn diagram

Description

Coordinates of polygon regions/centers for venn diagram

Usage

two_dimension_circle_regions(n.sides = 1000)

three_dimension_circle_regions(n.sides = 1000)

four_dimension_ellipse_regions(n.sides = 1000)

Arguments

n.sides

resolution

Value

a list of two data.frame, the first one represents polygon regions, and the second specifies polygon centers.

Examples

Run this code
# NOT RUN {
library(ggplot2)
polygons <- four_dimension_ellipse_regions(3000)[[1]]
ggplot(polygons,aes(x,y,group=group,fill=group)) + geom_polygon()
# }

Run the code above in your browser using DataLab