## Not run:
# data(topleveldat)
# out1 <- tuneVars(form=form, aggr=aggr, indi=indi, IDCols=c("ID","ID"),sample=10000, verbose=11000)
# out2 <- tuneVars(form=form, aggr=aggr, indi=indi, IDCols=c("ID","ID"), sample=10000, verbose=11000,
# maxiter=NULL, improv=c(0.01,5))
# out3 <- tuneVars(form=form, aggr=aggr, indi=indi, IDCols=c("ID","ID"), sample=10000, verbose=11000,
# maxiter=NULL, accRat=c(0.45,0.55), improv=c(0.01,5))
# str(out3)
# out4 <- indAggEi(form=form, aggr=aggr, indi=indi, IDCols=c("ID","ID"),
# betaVars=out1$betaVars, alphaVars=out1$alphaVars,
# sample=10000,thinning=1,burnin=100, verbose=1000)
# out4
# ## End(Not run)
Run the code above in your browser using DataLab