Learn R Programming

admiral (version 1.1.1)

extract_unit: Extract Unit From Parameter Description

Description

Extract the unit of a parameter from a description like "Param (unit)".

Usage

extract_unit(x)

Value

A string

Arguments

x

A parameter description

See Also

Utilities used within Derivation functions: call_user_fun(), get_flagged_records(), get_not_mapped(), get_vars_query()

Examples

Run this code
extract_unit("Height (cm)")

extract_unit("Diastolic Blood Pressure (mmHg)")

Run the code above in your browser using DataLab