You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an instance where I'm wanting to use scales::label_number and its variants to flexibly format different vectors that may change based on user feedback in an interactive environment.
Some of the vectors will require a high degree of specificity; others don't or are integers.
The current behavior of the functions are limiting in this case. For example:
I can think of some work arounds, but think it'd be great to be able to specify a maximum number of digits when using the heuristic without forcing the leading 0s!
Thank you!
The text was updated successfully, but these errors were encountered:
I have an instance where I'm wanting to use
scales::label_number
and its variants to flexibly format different vectors that may change based on user feedback in an interactive environment.Some of the vectors will require a high degree of specificity; others don't or are integers.
The current behavior of the functions are limiting in this case. For example:
Isn't ideal, because the two values ~12.44 are very close, and 3 and 300 are far away. Maybe 1-2 decimals is appropriate.
But if I set the accuracy manually and the vector becomes different in the interactive session, I'll get trailing 0s that I don't want:
I can think of some work arounds, but think it'd be great to be able to specify a maximum number of digits when using the heuristic without forcing the leading 0s!
Thank you!
The text was updated successfully, but these errors were encountered: