Skip to main content
100%

un-scinote in r

✓ Published0🌍 Public
NN0taN3rd
Last edited Sep 22, 2016
Created on Sep 22, 2016

This example plots a histogram of values from a CSV file (`reachNums.csv`), but transforms the y-axis to a base-2 logarithmic scale to better visualize the distribution of the reach numbers. The x-axis labels are converted to human-readable SI units (e.g., "1k", "1M") using a custom `f2si2` function that maps numbers to prefixes like kilo and mega. The code uses R's base plotting functions (`hist`, `axis`, `plot`) with the `pretty()` function to generate tick positions.

AI-generated description

Similar vizzes