# NOT RUN {
# plot of Power vs Delta for two-level fractional factorial design
# without the interaction effects
plots.2levFr(nfactor=3, nfraction=1, interaction=FALSE,
delta_type=1, delta=c(1, 0, 1), alpha=0.05, beta=0.2, type=1)
# plot of Power vs Sample size for two-level fractional factorial design
# with the interaction effects
plots.2levFr(nfactor=5, nfraction=1, interaction=TRUE,
delta_type=1, delta=c(1, 1, 1), deltao=1, alpha=0.05, beta=0.2, type=3)
# }
Run the code above in your browser using DataLab