Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set default minimum and maximum levels for VariablesList #5602

Merged
merged 5 commits into from
Jul 10, 2024

Conversation

boutinb
Copy link
Contributor

@boutinb boutinb commented Jul 8, 2024

  • If a VariablesList accepts only scale variables, the default value of minNumericLevels is 1, otherwise -1.
  • If a VariablesList accepts only nominal and/or ordinal, and its maxLevels property is not explicitly set (still -1), then if a scale value is added in this VariablesList, JASP checks whether the variable exceeds the 'Default maximum levels' setting in Data/Preferences (default 100). Also the error message tells the user where he can change this maximum.

If not explicitly set in the analysis:
. the minNumericLevels of a VariablesList accepting only scale variables, is set to 1.
. the maxLevels of a VariablesList accepting nominal and/or ordinal, is set to the Data/Preferences setting 'maxLevels' (default 100). Also the error message tells the user where he can change this maximum
@boutinb boutinb requested a review from vandenman July 8, 2024 11:43
@boutinb boutinb merged commit 0a8b7e3 into jasp-stats:development Jul 10, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant