Error: dimnames when trying to get estimated means

General help and assistance with jamovi. Bug reports can be made at our issues page: https://github.com/jamovi/jamovi/issues . (If you're unsure feel free to discuss it here)
Post Reply
jinho
Posts: 2
Joined: Thu Jun 04, 2020 1:57 am

Error: dimnames when trying to get estimated means

Post by jinho »

So I ran a series of multinomial logistic regression analyses all the way back in 2018 for a manuscript. I'm trying to rerun the analyses using the jmv::logRegMulti() function in R but I'm getting hit with an error that I've never seen before back when I last did this analysis in 2018.

The error reads:

Code: Select all

Error in dimnames(x) <- dnx : 'dimnames' applied to non-array
This seems to not be an issue in the actual Jamovi program, only when I'm trying to run it through R. This is problematic as I need to create my custom graphs through ggplot after extracting the estimated marginal means coordinates.
The error only comes up when I put in the additional

Code: Select all

emMeans = var1 + var2 + var3
set of lines to get estimated marginal means. I'm not sure what's going on, is this possibly an issue with the jmv package in R?
User avatar
jonathon
Posts: 2617
Joined: Fri Jan 27, 2017 10:04 am

Re: Error: dimnames when trying to get estimated means

Post by jonathon »

hey, try the latest jmv and see if that fixes the issue:

remotes::install_github('jamovi/jmv')

let us know how you get on.

with thanks
jinho
Posts: 2
Joined: Thu Jun 04, 2020 1:57 am

Re: Error: dimnames when trying to get estimated means

Post by jinho »

Hi Jonathon,

I reinstalled jmv and still had the same error message pop up,
So I went and updated my R version from 3.6.2 to 4.0 and updated my Rstudio version as well just in case, which seems to have fixed it!

Thank you for your quick response!
Post Reply