Learn R Programming

eulerr (version 8.3.0)

new_shape_frame: 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