resolve_formatter {REDCapTidieR}R Documentation

Convert user input into label formatting function

Description

Convert user input into label formatting function

Usage

resolve_formatter(format_labels, env = caller_env(n = 2), call = caller_env())

Arguments

format_labels

argument passed to make_labelled

env

the environment in which to look up functions if format_labels contains character elements. The default, caller_env(n = 2), uses the environment from which the user called make_labelled()

call

the calling environment to use in the error message

Value

a function


[Package REDCapTidieR version 1.1.1 Index]