Learn R Programming

yamlet (version 1.2.1)

make_title.decorated: Make Title for Decorated

Description

Make title for class 'decorated'. Limits scope to requested variables, and then calls class-specific methods for each.

Usage

# S3 method for decorated
make_title(x, ...)

Value

decorated

Arguments

x

object

...

optional names of variables to limit scope

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.default(), make_title.dvec(), sub_units()

Examples

Run this code
library(magrittr)
x <- data.frame(length = 1:10)
x %>% 
  decorate('length: [ Length, mm ]') %>%
  resolve %>%
  decorations

Run the code above in your browser using DataLab