head(data_Huitema_2011)
# \donttest{
# replicating results on p. 255 for the Johnson-Neyman technique for a categorical moderator
MODERATED_REGRESSION(data=data_Huitema_2011, DV='Y',
IV='X', IV_range='tumble',
MOD='D', MOD_type = 'factor',
center = FALSE,
plot_type = 'interaction',
JN_type = 'Huitema')
# }
Run the code above in your browser using DataLab