setup_complement_tag: Setup the complement-count tag, in the same shape as a region...

View source: R/tag-grobs.R

setup_complement_tagR Documentation

Setup the complement-count tag, in the same shape as a region tag so it shares one makeContent.EulerTags() pass.

Description

Acts as a quantity-only tag with combo_key = "". The complement label text comes either from complement$label (user override) or from container_data$quantity_label (the fitted complement count).

Usage

setup_complement_tag(container_data, complement, number)

Arguments

container_data

the complement (container) region's data

complement

the complement parameter list, with a ⁠$gp⁠ and an optional ⁠$label⁠ override

number

the diagram's region index, used to name the grobs


eulerr documentation built on Aug. 22, 2026, 1:09 a.m.