Learn R Programming

eulerr (version 3.0.1)

panel.euler: Panel Function for Euler Diagrams

Description

Plots circular euler diagrams if ra == rb and elliptical such otherwise.

Usage

panel.euler(x, y, ra, rb, phi, subscripts, fill = superpose.polygon$col,
  lty = superpose.polygon$lty, lwd = superpose.polygon$lwd,
  border = superpose.polygon$border, alpha = superpose.polygon$alpha,
  fontface = "bold", quantities = FALSE, labels = NULL, original.values,
  fitted.values, ...)

Arguments

x

X coordinates for the centers.

y

Y coordinates for the centers.

ra

Semi-major axes.

rb

Semi-minor axes.

phi

Rotation of the ellipse (as the counter-clockwise angle from the positive x-axis to the semi-major axis).

subscripts

A vector of subscripts (See lattice::xyplot()).

fill

Fill color. (See grid::gpar().)

lty

Line type. (See grid::gpar().)

lwd

Line weight. (See grid::gpar().)

border

Border color.

alpha

Alpha (opacity) for the fill. Note that plot.euler() by default modifies the alpha of col to avoid affecting the alpha of the borders. (See grid::gpar().)

fontface

Fontface for the labels. (See grid::gpar().)

quantities

Plots the original values for the disjoint set combinations (original.values). Can also be a list, in which the contents of the list will be passed on to lattice::panel.text() to modify the appearance of the quantity labels.

labels

Labels.

original.values

Original values for the disjoint set combinations.

fitted.values

Fitted values for the disjoint set combinations.

Value

Plots euler diagrams inside a trellis panel.

See Also

grid::gpar().