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
Aloha.
Just discovered scales and want to thank you for that. I find a couple of things to comment on.
scale_x_continuous(labels = scales::label_number(accuracy = 0.5),
breaks = c(-124, -120, -116))
if accuracy = 0.0 (ie, integer) then the values on the axis are NA.
It seems to me that 'accuracy' is more correctly 'precision'
Mahalo for the work.
The text was updated successfully, but these errors were encountered:
To round to integers you should use accuracy = 1, not accuracy = 0.
With regards to the accuracy/precision distinction, I don't really know what distinguishes these terms with regards to number formatting. However, I've seen 'precision' used to roughly mean 'the number of digits', which is not what the accuracy argument encodes.
accuracy is correctly used here as it relates to how accurate the resulting label is to the true value. precision is more related to sampling and how good you are at repeating a measurement
Aloha.
Just discovered scales and want to thank you for that. I find a couple of things to comment on.
scale_x_continuous(labels = scales::label_number(accuracy = 0.5),
breaks = c(-124, -120, -116))
if accuracy = 0.0 (ie, integer) then the values on the axis are NA.
It seems to me that 'accuracy' is more correctly 'precision'
Mahalo for the work.
The text was updated successfully, but these errors were encountered: