# NOT RUN {
data(goalstudy)
# }
# NOT RUN {
library(rstan)
# or use BANOVA.run based on 'Stan'
res2 <- BANOVA.run(bid~progress*prodvar, model_name = 'Normal',
data = goalstudy, id = 'id', iter = 1000, chains = 2)
BAnova(res2)
# }
Run the code above in your browser using DataLab