Created
September 21, 2018 15:44
-
-
Save benwhalley/92e9128b82b355907121f9be32527451 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Prior <- c(set_prior("normal(0, 30)", class = "b")) | |
options(mc.cores=parallel::detectCores ()-1) | |
f.interaction <- bf(Pressure ~ Awareness * | |
Agency * | |
Resp.Alt * | |
VisualPrime * | |
BlockNo_c * | |
CueOrderlog_c * | |
MovScore | |
+ (1+Resp.Alt*VisualPrime*CueOrderlog_c|Participant)) | |
f.interaction_null <- bf(Pressure ~ Awareness * | |
Agency * | |
Resp.Alt * | |
VisualPrime * | |
BlockNo_c * | |
CueOrderlog_c + | |
MovScore | |
+ (1+Resp.Alt*VisualPrime*CueOrderlog_c|Participant)) | |
model.interaction <- brm(f.interaction | |
data=GlobalModelData.Sugg, | |
save_all_pars = TRUE, | |
prior = Prior) | |
model.interaction_null <- brm(f.interaction_null | |
data=GlobalModelData.Sugg, | |
save_all_pars = TRUE, | |
prior = Prior) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment