I am trying to have my analysis nice and neat in an r file but not all the code is working.
Specifically for my bayesian Anova. The code generated looks like this:
jsq::banova(
data = data,
etc
The issue being that jsq is not a package I have or can install. Of course, I would assume this is because it's not native to Jamovi but is a separate module. Does this mean the r code is of no use yet?
I am using a couple of other modules for analysis that I would assume also don't work (ie a generalised linear mixed model)
I am pretty new to this so if I am missing something let know.
Otherwise, if it's not currently a feature I can just stick to 2 separate Jamovi files (one for long format and one for wide) and a separate R script for the stuff I can't do yet in Jamovi (Bayes mixed model regression) which is a bit messy.
Generated R Code not working
Re: Generated R Code not working
hi whirly,
yes, there's currently some issues with releasing jsq as an R package, so you're right, the syntax for it isn't useful at present. (i thought i'd replaced the syntax with a helpful message, but apparently not).
syntax for other modules should work however, but the module may not be available from CRAN.
to install the GAMLj module for example, you can use devtools.
devtools::install('gamlj/gamlj')
then you should be able to use the GAMLj R syntax.
cheers
jonathon
yes, there's currently some issues with releasing jsq as an R package, so you're right, the syntax for it isn't useful at present. (i thought i'd replaced the syntax with a helpful message, but apparently not).
syntax for other modules should work however, but the module may not be available from CRAN.
to install the GAMLj module for example, you can use devtools.
devtools::install('gamlj/gamlj')
then you should be able to use the GAMLj R syntax.
cheers
jonathon
Re: Generated R Code not working
Now you find it here:jonathon wrote: to install the GAMLj module for example, you can use devtools.
devtools::install('gamlj/gamlj')
Code: Select all
devtools::install_github(
repo = "mcfanda/gamlj",
dependencies = TRUE,
upgrade_dependencies = TRUE
)
packageVersion("gamlj")
Maurizio
Re: Generated R Code not working
oh yup, ignore me, maurizio is right.
cheers
cheers