Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


ggVennDiagram (version 1.2.2)

build_shape: Helper function to add shape

Description

Helper function to add shape

Usage

build_shape(
  edge,
  label,
  nsets = length(edge),
  shape_id,
  type = c("ellipse", "triangle", "polygon", "circle")
)

Value

a tibble with columns: nsets, type, shape_id, component, id, xy.

Arguments

edge

a list of xy matrix

label

a list of xy matrix

nsets

2:7

shape_id

a unique id

type

c("ellipse","triangle","polygon","circle")