How to use the R Filter

Using the R filter gives you the opportunity to write custom filters for your data. You can combine this easily with the results from the other filters, that is, those selected in the variable window or made in the easy filter. In fact, you can easily observe the code that is generated by those other filters in the top read-only textbox that starts with generatedFilter <-.

To refer to your data simply enter the columnname in the code-window, JASP will make sure that it refers to the correct data. If your columnname contains spaces you must enter these as well.

Some examples, which will of course only work if your data contains those columns, should serve to clarify: