Selecting certain values in a variable
Hi,
Is it possible to select certain variables in JASP all at once? For example, say my variable was ID, and it contained random number such as, 23, 56, 9, 837, 200, 5, 46.
How would I exclude say 23, 9, and 837 at the same time.? I know I can use the not equals sign, but this only works for one case. I have tried putting a list of IDs separated by a comma, but it doesn't seem to work.
Any help would be appreciated.
Comments
It should work more easily with the R code I think...
Anyway, you can string together the exclusions using the AND (^) operator: "ID not-equal-to 23" ^ "ID not-equal-to 9" etc.
E.J.
Hi,
As EJ said, the most elegant solution would be to use R code. For example, the following code
would do what you want. If you prefer a custom drag and drop element, please open a feature request at our GitHub page (see https://jasp-stats.org/2018/03/29/request-feature-report-bug-jasp/).
Cheers,
Don