# NOT RUN {
n <- 10
m <- Model.Indep.p.lambda(Model.p.BetaPrior(n),
Model.lambda.GammaPrior(n,scale=1e-1))
x <- genL(m)
l <- rowSums(x$L)
a <- colSums(x$L)
# }
# NOT RUN {
choosethin(l,a,model=m)
choosethin(l,a,model=m,relESStarget=0.7)
# }
Run the code above in your browser using DataLab