Learn R Programming

volker (version 2.1.0)

get_limits: 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)

Value

A list or NULL.

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.