In tabxplor 1.x a fmt column carried one type attribute, whose seven values conflated two
facts. Since 2.0.0 they are two attributes: get_scale() / set_scale() say what the column
estimates (a key into the declared scale table), and get_pct_type() / set_pct_type() say
which kind of percentage it holds. These two functions translate, so 1.x code keeps running;
they are defunct in tabxplor 2.1.0.
get_type() re-fuses what 2.0.0 split, so it is a reading aid rather than an accessor:
level_mean reads back "mean", level_n reads "n", a level percentage reads its own
pct_type, and every effect scale (a difference, a ratio, an odds ratio, a coefficient) reads
"coef" — distinctions 1.x could not make are lost on the way back.
Functions
set_type(): set the retiredtypeattribute of afmtvectorget_type(): get the retiredtypeoffmtcolumns