Joins the parts in the order
<measure>[_vs_<denom>][_<role>][_<q-label> | _prob_<level>][_pr<per>][<suffix>].
The pipeline names its draw matrices and quantile columns with it, so build a
name with it before you look a column up.
Usage
csfmt_var(
measure,
denom = NULL,
role = NULL,
q = NULL,
level = NULL,
per = NULL,
suffix = NULL
)Arguments
- measure
The name of the measure, for example
"consults_r80".- denom
A denominator. It adds
_vs_<denom>.- role
A role, for example
"nowcasted","trend"or"status". It adds_<role>.- q
A probability. It adds the label from
q_label(). Giveqorlevel, not both.- level
A status level. It adds
_prob_<level>.- per
A rate scale.
100adds_pr100.- suffix
A unit suffix, added as written, for example
"_n".
See also
vignette("pipeline", package = "csalert"), whose naming-grammar
section builds and parses a name.
Other naming grammar functions:
csfmt_interpret(),
csfmt_parse(),
q_label(),
q_value()
