Learn R Programming

eulerr (version 4.1.0)

label_deprecated: Compute Locations for Overlaps (deprecated)

Description

Runs the same algorithm as in plot.euler() / panel.euler.labels() to label the overlaps in the Euler diagram. This is useful if you want to use your own solution to plot the final diagram.

Usage

label(x, labels)

Arguments

x

An object of class 'euler'

labels

An optional character vector of labels for the diagram.

Value

A numeric matrix of x and y coordinates for the labels, as well as the quantities and proportions for the overlaps depicted in the labels.

Details

In the cases where x is a list of Euler diagrams (if the by argument was used in the call to euler()), this function returns a list of matrices with coordinates.

See Also

eulerr_deprecated