Skip to content

Instantly share code, notes, and snippets.

View Emaasit's full-sized avatar
🎯
Focusing

Daniel Emaasit Emaasit

🎯
Focusing
View GitHub Profile
@Emaasit
Emaasit / hide_code_pdf.md
Created April 3, 2018 19:24 — forked from macoj/hide_code_pdf.md
Hiding code when exporting jupyter notebook to pdf
@Emaasit
Emaasit / STB.R
Created November 22, 2016 21:17 — forked from xiangze/STB.R
Stick breaking process in stan
#from BUGS book page 293
#Stick-breaking process
#http://www2.imm.dtu.dk/courses/02443/projects/Roeder_JASA_1990.pdf
library(rstan)
C <- 10
data <-read.csv("data.csv")
N <-nrow(data)
model <-stan_model("STB.stan")