make_title.dvec: Make Title for Decorated Vector

View source: R/make_title.R

make_title.dvecR Documentation

Make Title for Decorated Vector

Description

Makes title for decorated vectors. If option with_title is TRUE and x has a 'units' attribute, it adds the title attribute. See also drop_title for coordinated use.

Usage

## S3 method for class 'dvec'
make_title(x, ..., with_title = getOption("yamlet_with_title", TRUE))

Arguments

x

dvec

...

ignored arguments

with_title

whether to drop title

Value

dvec

See Also

Other labels: alias.data.frame(), append_units(), append_units.data.frame(), append_units.default(), drop_title(), drop_title.decorated(), drop_title.default(), drop_title.dvec(), make_title(), make_title.decorated(), make_title.default(), sub_units()

Examples

library(magrittr)
1 %>% 
as_dvec(label = 'length', guide = 'mm') %>%
resolve

yamlet documentation built on June 8, 2025, 1:57 p.m.