euler_plot: Creates Euler model from list of identifier numbers.

euler_plotR Documentation

Creates Euler model from list of identifier numbers.

Description

Calculates relative overlaps and uses eulerr package to create Euler/Venn-diagrams. Use plot() to create diagram. Combined with an evolved calculate.overlap() from the VennDiagram library. Up to five (5) dimensions. Limit set by the complexity of combinations. euler() supports more. Output is a list. First element is euler model for plotting. Others are for easy labeling.

Usage

euler_plot(x, total, dec = 1, label = as.character(c(1:5)), shape = "ellipse")

Arguments

x

list of variables included. Has to be vectors of identifier numbers.

total

data.frame, vector or integer to calculate or use as total number of participants for percentage calculation.

dec

number of decimals for labels in plot. Standard set to 1.

label

labels for easy creation of legend in plot().

shape

same as for euler(). These includes c("circle","ellipse").


agdamsbo/daDoctoR documentation built on Aug. 30, 2022, 4:29 p.m.