Mixed-models - R code

Discuss the jamovi platform, possible improvements, etc.
Post Reply
JTJTJT
Posts: 3
Joined: Fri Aug 06, 2021 8:23 am

Mixed-models - R code

Post by JTJTJT »

Hi everyone.

I did a mixed-models analysis in Jamovi.

I wonder if I can access to the R used to run that analysis?

Thanks,
JT
JTJTJT
Posts: 3
Joined: Fri Aug 06, 2021 8:23 am

Re: Mixed-models - R code

Post by JTJTJT »

Ok, found it. But I am troubles running it in R. Any suggestions? thanks

> install.packages("gamlj")
Installing package into ‘C:/Users/....’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘gamlj’ is not available for this version of R

A version of this package for your version of R might be available elsewhere,
see the ideas at
https://cran.r-project.org/doc/manuals/ ... g-packages
User avatar
jonathon
Posts: 2840
Joined: Fri Jan 27, 2017 10:04 am

Re: Mixed-models - R code

Post by jonathon »

gamlj isn't available from CRAN just yet, but you should be able to install it with the remotes package. install the remotes package first if you haven't already:

install.packages('remotes')

then once you've done that, you should be able to install gamlj with:

remotes::install_github('gamlj/gamlj')

cheers

jonathon
User avatar
MAgojam
Posts: 446
Joined: Thu Jun 08, 2017 2:33 pm
Location: Parma (Italy)

Re: Mixed-models - R code

Post by MAgojam »

jonathon wrote:then once you've done that, you should be able to install gamlj with:
remotes::install_github('gamlj/gamlj')
Hi, Jonathon.
Marcello, some time ago made some changes, this step should find and install gamlj:

Code: Select all

remotes::install_github(
  repo = "mcfanda/gamlj",              
  dependencies = TRUE,                 
  force = TRUE,
  upgrade_dependencies = TRUE          
)
packageVersion("gamlj")
Cheers,
Maurizio
JTJTJT
Posts: 3
Joined: Fri Aug 06, 2021 8:23 am

Re: Mixed-models - R code

Post by JTJTJT »

Thank you, Jonathan.

Well, I have faced other issues... but I guess I will just wait. :D BR
Post Reply