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)
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:"argument predictor1 is missing, with no default"
Code: Select all
RSA::RSA(self$data$outcome~self$data$predictor1*self$data$predictor2
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!