Learn R Programming

volker (version 3.3.0)

.get_numbers_col: Determine the column used for plotting numbers

Description

This function is used internally by plotting helpers such as .plot_bars() and .plot_heatmap() to avoid hard-coding the label column name.

Usage

.get_numbers_col(numbers, col = ".values")

Value

A character string with the column name to be used for plotting numbers, or NULL if no numbers should be displayed.

Arguments

numbers

The numbers parameter passed to the high-level plotting.

col

Name of the column containing the prepared label values. Defaults to ".values".