build_discrete_legend: Build discrete legend

View source: R/legend.R

build_discrete_legendR Documentation

Build discrete legend

Description

Creates a discrete legend specification for categorical data.

Usage

build_discrete_legend(data, fill_col, label_col)

Arguments

data

Atlas data

fill_col

Name of the fill column

label_col

Name of the label column

Value

List with discrete legend specification or NULL if too many categories


ggseg3d documentation built on Feb. 21, 2026, 1:06 a.m.