sjPlot
sjPlot copied to clipboard
viewdf messes up display of frequencies if variable value starts at 0
If a variable starts at the value 0, viewdf will always show "0" for the frequencies of that level and then shift all the other frequencies by one (i.e., the frequencies of "0" are displayed where the "1" is, the frequencies of "1" are displayed where the "2" is, and the frequencies of the last value are omitted).
For an example, see this variable that I recoded to start with 0
I can replicate this issue by merely recoding a variable so that the starting value is 0.