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.data.frame(), append_units.default(), append_units(), drop_title.decorated(), drop_title.default(), drop_title.dvec(), drop_title(), make_title.decorated(), make_title.default(), make_title(), sub_units()

Examples

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

yamlet documentation built on Oct. 6, 2023, 9:07 a.m.