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

Adding levels #5789

Open
wants to merge 6 commits into
base: development
Choose a base branch
from
Open

Conversation

JorisGoosen
Copy link
Contributor

As requested by @JohnnyDoorn and many others, here is support for manually adding and removing levels in JASP.

This also adds a button to the filter, this to control whether all levels should be passed on or not.

Ive kept the old default behaviour of dropping levels as the default. But to make the transition easier it is only used in R if there is any row that is filtered out!.

So, if the filter is still the default, or it is a nonsensical filter that passes everything it will not drop levels that are missing from the data (which would be those manually added by the user).
If the filter has at least one row filtered out it will instead respect the property "dropLevels" which will, if enabled, drop any levels no longer (or never) in the data.

@JorisGoosen JorisGoosen requested a review from boutinb February 11, 2025 12:49
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