Arguments
- x
A yspec object.
- ...
Named lists of column data to update; only specific items can be
mutated at this time; see details.
Details
Items that can be mutated:
- `short`
- `unit`
- `label`
Examples
spec <- ys_help$spec()
xpec <- yspec:::ys_mutate(spec, TIME = list(unit = "d"), TAD = list(unit = 'w'))
spec$TIME
#> name value
#> col TIME
#> type numeric
#> short TIME
#> unit hour
#> range .
spec$TAD
#> name value
#> col TAD
#> type numeric
#> short time after dose
#> unit hours
#> range .