Page 1 of 1

Error: dimnames when trying to get estimated means

Posted: Thu Jun 04, 2020 2:18 am
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?

Re: Error: dimnames when trying to get estimated means

Posted: Thu Jun 04, 2020 2:21 am
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

Re: Error: dimnames when trying to get estimated means

Posted: Thu Jun 04, 2020 2:54 am
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!