Page 1 of 1

Rj Editor Marginal means plots

Posted: Mon Jan 25, 2021 4:30 pm
by pdeli
Hello,

The same way as in the Linear Regression module, I would like to plot the marginal means with the Rj Editor. As I did not know the command to do that I used the above mentioned module, selected Syntax mode and saw that emMeans was used.

However, when in the Rj Editor I add the line and run the script, a spinning wheel appears instead of the plot and nothing else happens. I either have to comment out the emMeans line or erase it and re-play the code.

The same happens when I add resPlots = TRUE,.

When Syntax mode is invoked, it seems that the engine does not even try to display the plots (i.e., resPlots and emMeans).

Any ideas?

The Rj Editor script is the following:

Code: Select all

jmv::linReg(
    data = data,
    dep = 'zScore',
    covs = Age,
    blocks = list(
        list(
            "Age")),
    refLevels = list(),
    cooks = TRUE,
    emMeans = ~ Age
    )
The script from the module:

Code: Select all

jmv::linReg(
    data = data,
    dep = 'zScore',
    covs = Age,
    blocks = list(
        list(
            "Age")),
    refLevels = list(),
    cooks = TRUE,
    emMeans = ~ Age
    )

Thanks and best regards,
pdeli

FWIW, the system used:
  • Jamovi Version 1.6.12.0
  • macOS Catalina Version 10.15.7 (19H114)
++++

Re: Rj Editor Marginal means plots

Posted: Mon Jan 25, 2021 11:21 pm
by jonathon
could you create an issue for this on our issues page?

https://github.com/jamovi/jamovi/issues

kind regards

jonathon

Re: Rj Editor Marginal means plots

Posted: Tue Jan 26, 2021 11:25 am
by pdeli
Done: https://github.com/jamovi/jamovi/issues/990

Best regards
pdeli

++++