gamlj error when reproducing in Rstudio
Posted: Fri Sep 11, 2020 11:58 pm
Hi there, first posting;
I am trying to re-run code generated by the GAMLJ module (in Jamovi) in Rstudio and am getting a consistent error (i.e., using both a GLM and a mixed model approach) while executing exported code:
"Error: Argument 'covs' requires a numeric variable ('some_factor' is not valid)" See mockup of actual code exported below:
gamlj::gamljGLM(
formula = `dependent_variable` ~ `some_factor` * `another_factor` * `a_third_factor`,
data = data)
I installed the gamlj package and ran above code. This error seems odd to me as I am using a formula, and according to GAMLJ package descriptions, 'covs' is not required when using a formula?
Any idea what this error may be referring to? Adding "covs=NULL" for example doesn't help.
Thanks for any insight, RJS
I am trying to re-run code generated by the GAMLJ module (in Jamovi) in Rstudio and am getting a consistent error (i.e., using both a GLM and a mixed model approach) while executing exported code:
"Error: Argument 'covs' requires a numeric variable ('some_factor' is not valid)" See mockup of actual code exported below:
gamlj::gamljGLM(
formula = `dependent_variable` ~ `some_factor` * `another_factor` * `a_third_factor`,
data = data)
I installed the gamlj package and ran above code. This error seems odd to me as I am using a formula, and according to GAMLJ package descriptions, 'covs' is not required when using a formula?
Any idea what this error may be referring to? Adding "covs=NULL" for example doesn't help.
Thanks for any insight, RJS