jasp-stats / jasp-issues

This repository is solely meant for reporting of bugs, feature requests and other issues in JASP.
58 stars 29 forks source link

[Feature Request]: Manually set amount of categories in distribution plots #2920

Open maximusmontis opened 11 hours ago

maximusmontis commented 11 hours ago

Description

Currently, the amount of categories in a distribution plot (i.e., the x axis) is determined automatically by JASP. I am currently working with a dataset, where participants responded to a series of questions with a rating of 1-4 (i.e., four response categories). In some questions, no participants selected the response "1". JASP now understandably assumes that this response option does not exist and therefore displays only the categories 2-4 in the distribution plot. This complicates the comparison of the plots (see example below), because the information that zero participants selected response option 1 gets lost.

Purpose

No response

Use-case

No response

Is your feature request related to a problem?

No response

Is your feature request related to a JASP module?

Descriptives

Describe the solution you would like

It should be possible to manually set and label the amount of categories on the x axis.

Describe alternatives that you have considered

No response

Additional context

Plot with four categories (correct) grafik

Plot with three categories (incorrect, response option 1 is missing, since no participants selected this option. Nevertheless, this is relevant information and should be possible to display in the plot.) grafik