kylehamilton / MAJOR

Meta-Analysis for JAMOVI
GNU General Public License v3.0
18 stars 7 forks source link

Export syntax to R #28

Open meterfiller opened 2 years ago

meterfiller commented 2 years ago

Is your feature request related to a problem? Please describe. I am trying to export my MAJOR syntax to R or Rj (Jamovi package). Copy/pasting the syntax for an analysis that is working in MAJOR into R or Rj results in an error that "there is no package called 'MAJOR'". I am trying to export the syntax so that I can subset my data. When my data is long (i.e., multiple categories in a single row separated by a categorizing variable), MAJOR in Jamovi is not able to subset this data to run an analysis on the subset. As a result, I need to create multiple .CSV files and open each one in a separate .OMV.

Describe the solution you'd like

  1. I would like to be able to copy/paste the syntax from a MAJOR analysis into R or Rj and make further adjustments there.
  2. Without resorting to editing the syntax, MAJOR would benefit from having a subsetting function like we use in R. For example"data = subset(data, data$Location==Japan),"

Describe alternatives you've considered I've tried copying the MAJOR syntax and modifying it in both Rj in Jamovi and in R directly. So far, both R and Rj give me back the same editor that "there is no package called 'MAJOR'". I've tried a few iterations of the syntax (e.g., jmv::MAJOR::metaAnalysisCorr...), but so far no luck.

R syntax error

I don't have much experience with coding, but I have some experience with R and Jamovi and am happy to help with this if possible.

github-actions[bot] commented 2 years ago

If you dont get a reply from me in a couple days comment on this issue so Ill see it' first issue