Update apply_fmt_fn()
to not overwrite existing formatted statistics
#285
Milestone
apply_fmt_fn()
to not overwrite existing formatted statistics
#285
In some cases, users want apply formatting functions across a statistic. in the example below, the rounding function ensures the rounded statistics sum to the same number as the raw stats.
Perhaps we could also introduce a
apply_fmt_fn(by)
argument, and the statistics would be applied to the group of statistics. My only reservation is that this would fail when there are a mix a formatting functions that get applied to vectors and one-in-one-out formatting function (which would apply to more complex cases). But in those cases, the users can easily program around it.Created on 2024-08-02 with reprex v2.1.0
The text was updated successfully, but these errors were encountered: