africanmathsinitiative / R-Instat-Help

The latest uncompiled (.hnd) and compiled (.cmd) versions of the help file for the statistics software package R-Instat
https://chuffed.org/project/africandatainitiative
GNU General Public License v3.0
2 stars 5 forks source link

Interpreting Histogram output from Pima.tr2 dataset #15

Open mmumbo opened 6 years ago

mmumbo commented 6 years ago

The dialog work pretty well, the challenge comes when you want to interpret the graph produced by default Geom parameters. The bars are produced as a block making it difficult to distinguish between one bar to the other especially when the follow each other. Could the color (in this case layer parameters) be made to be a default selection in order to have an output like in the second figure below?

image

image

dannyparsons commented 6 years ago

This is kind of the difference between a bar chart and a histogram. The histogram shows a continuous x axis, which is why bars and joined by default, compared to a bar chart which just shows frequencies of anything, so they may not be continuous so not joining. In this case I would suggest just doing the second graph (bar chart) instead of trying to do it with histogram. However, it should also be possible with histogram. In Histogram Options under the Layer Parameter tab, can you check the col parameter? (I hope it is there) If you make this white then the outside of the bars will be white so you can see a space between them. This is the same question asked here https://stackoverflow.com/questions/44889334/adding-space-between-my-geom-histogram-bars-not-barplot