# NOT RUN {
# Short computation example NOT SUFFICIENT SAMPLES
h1 <- matrix(c(1,-1), nrow= 1, byrow= TRUE)
h2 <- 'c'
m1 <- c(.4, 0)
m2 <- c(0, .1)
bayes_sampsize(h1, h2, m1, m2, sd1 = 1, sd2 = 1, scale = 1000,
type = "de", cutoff = .125, nsamp = 50, datasets = 50,
minss = 40, maxss = 70)
# }
Run the code above in your browser using DataLab