## Not run:
# ## A basic simulation with four lists.
# # Begin by specifying the vector of log-linear parameters.
# # The parameters must match the design matrix:
# names(make.design.matrix(k=4))
# u.vec = initialize.u.vec(k=4)
# u.vec[5:10] = 2
# ## Run the simulation with an adjustment to the main effects in
# # u.vec such that the probability of nondetection is 0.5.
# sim = llm.sim(n.grid = c(100,300,900,2700), n.reps = 10, u.vec,
# p0 = 0.5, ic = "BIC", cell.adj = FALSE)
# # View the results
# plot(sim)
# ## End(Not run)
Run the code above in your browser using DataLab