get_limits: Get the numeric range from the labels

View source: R/labels.R

get_limitsR Documentation

Get the numeric range from the labels

Description

Gets the range of all values in the selected columns by the first successful of the following methods:

Usage

get_limits(data, cols, negative = TRUE)

Arguments

data

The labeled data frame.

cols

A tidy variable selection.

negative

Whether to include negative values.

Details

  • Inspect the limits column attribute.

  • Lookup the value names in the codebook.

  • Calculate the range from all values in the columns.

Value

A list or NULL.


volker documentation built on April 12, 2025, 9:16 a.m.