Form a short name
short(x, ...) # S3 method for ycol short( x, default = "col", short_max = getOption("yspec.short.max", NULL), title_case = getOption("yspec.short.title", FALSE), ... ) # S3 method for yspec short(x, default = "short", .aslist = TRUE, ...)
| x | a yspec or ycol object |
|---|---|
| ... | passed to methods |
| default | character field name to use when the |
| short_max | if |
| title_case |
|
| .aslist | if `TRUE`a named list is returned; otherwise, a named character vector |