update_short: Update short names in a yspec object

View source: R/class-yspec.R

update_shortR Documentation

Update short names in a yspec object

Description

Update short names in a yspec object

Usage

update_short(spec, ...)

Arguments

spec

a yspec object

...

'<column name> = <short name>' pairs

Details

If no update items are passed in, the original spec object will be returned. An error will be issued if a column update is requested, but can't be found in the spec.

Examples

sp <- ys_help$spec()

sp2 <- update_short(sp, ID = "subject", ALB = "serum albumin")


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