corrPart function in jmv() package

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
SMackinnon
Posts: 12
Joined: Tue Apr 02, 2019 2:18 pm

corrPart function in jmv() package

Post by SMackinnon »

I'm trying to use the corrPart() function within R using the jmv() package instead of in jamovi. So this function:

https://jamovi.readthedocs.io/no/latest ... rPart.html

However, when I load library(jmv) the function doesn't seem to exist, and doesn't come come up on help("corrPart"). Is there something missing that I need for this to work?
User avatar
MAgojam
Posts: 421
Joined: Thu Jun 08, 2017 2:33 pm
Location: Parma (Italy)

Re: corrPart function in jmv() package

Post by MAgojam »

Hi, @SMackinnon.

When you load the library (jmv) the corrPart() function is available, but it is not displayed in help, as if it were not there.
Take a look at the screenshot that I attach, to confirm.
Screenshot.PNG
Screenshot.PNG (133.53 KiB) Viewed 1530 times
Cheers,
Maurizio
User avatar
jonathon
Posts: 2617
Joined: Fri Jan 27, 2017 10:04 am

Re: corrPart function in jmv() package

Post by jonathon »

you may need to install a more up-to-date version of jmv, than is on CRAN. try the following:

remotes::install_github('jamovi/jmv')

cheers
SMackinnon
Posts: 12
Joined: Tue Apr 02, 2019 2:18 pm

Re: corrPart function in jmv() package

Post by SMackinnon »

Yes, that works!

For the benefit of folks who come after me, I did need to install it using R (not Rstudio) because I was initially getting an error message like:

Warning in install.packages : cannot remove prior installation of package ‘data.table’

I downloaded the newest version of R, ran the code from jonathan in R (not RStudio). Then I also had to install MASS, because of a dependency. After that, everything works!

Thank you!
Post Reply