ys_get_short_unit: Get short with unit

View source: R/ys-get.R

ys_get_short_unitR Documentation

Get short with unit

Description

Get short with unit

Usage

ys_get_short_unit(x, .aslist = TRUE, parens = TRUE, ...)

Arguments

x

ycol or yspec object

.aslist

a named list is returned if TRUE, otherwise a named character vector

parens

if TRUE, then parens will be added around any unit with one or more character

...

arguments passed to ys_get_short() and ys_get_unit()

See Also

ys_get_short(), ys_get_unit(), ys_get_label()

Examples

spec <- ys_help$spec()

ys_get_short_unit(spec)

ys_get_short_unit(spec$WT)


metrumresearchgroup/yspec documentation built on May 24, 2024, 12:48 a.m.