new_shape_frame: Allocate a fresh $shapes data frame for 'n_all' sets. Rows...

View source: R/fit_diagram.R

new_shape_frameR Documentation

Allocate a fresh ⁠$shapes⁠ data frame for n_all sets. Rows for empty sets keep NA in every column so downstream plotting can detect them via is.na(shapes$h) regardless of shape kind.

Description

Allocate a fresh ⁠$shapes⁠ data frame for n_all sets. Rows for empty sets keep NA in every column so downstream plotting can detect them via is.na(shapes$h) regardless of shape kind.

Usage

new_shape_frame(shape, n_all, row_names)

Arguments

shape

the shape kind to tag every row with

n_all

number of rows (sets) to allocate

row_names

row names to give the frame


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