R/rethink.R

Defines functions rethink

rethink <- function(){
  install.packages(c("mvtnorm","loo","coda"), repos="https://cloud.r-project.org/",dependencies=TRUE)
  options(repos=c(getOption('repos'), rethinking='http://xcelab.net/R'))
  install.packages('rethinking',type='source')
  library(rethinking)
}
jackobailey/jbmisc documentation built on Nov. 10, 2018, 1:08 a.m.