Hi -
I am teaching moderation using Jamovi. I attempted to create Johnson Neyman plots (code below) using the Rj module but get the error "trying to use CRAN without setting a mirror." What am I doing wrong?
Thanks!
Sara
#install and load necessary packages
install.packages("jtools")
library(jtools)
#fit your regression model
model <- lm(dependent_variable ~ predictor_variable + moderator_variable, data = your_data)
#create Johnson-Neyman plot
plot_jn(model, pred = "moderator_variable", modx = "predictor_variable")
Graphing Johnson-Neyman plots in Jamovi
- mcfanda@gmail.com
- Posts: 531
- Joined: Thu Mar 23, 2017 9:24 pm
Re: Graphing Johnson-Neyman plots in Jamovi
If you are interested, Jn plot will be in gamlj3 in next version
Re: Graphing Johnson-Neyman plots in Jamovi
Hi,
I have the same problem with package 'rsm' and the error message "trying to use CRAN without setting a mirror."
How could it be solved?
BR,
Agota
I have the same problem with package 'rsm' and the error message "trying to use CRAN without setting a mirror."
How could it be solved?
BR,
Agota