I'm working on a module for the RSA package and am having some difficulty getting the syntax correct.

This is the syntax for the basic model, which works fine in R Studio and in the RJ Console when using System R:

- Code: Select all
`RSA::RSA(outcome~predictor1*predictor2, data=data)`

When trying to run the model using the RJ Console with Jamovi R, I get the following error message:

"argument predictor1 is missing, with no default"

The same error message occurs when running the analysis using the module interface, even when I replace the variable names with the coding scheme described in the tutorial:

- Code: Select all
`RSA::RSA(self$data$outcome~self$data$predictor1*self$data$predictor2`

Am I missing something here? Is there another way to correctly designate the variable names within Jamovi R?

Or is there something else that needs to happen in order to get the RSA package to recognize the variables in Jamovi R?

Any help would be appreciated!