searchCrossOverDesign(s, p, v, model = "Standard additive model", eff.factor = 1, v.rep, balance.s = FALSE, balance.p = FALSE, verbose = 0, model.param = list(), n = c(5000, 20), jumps = c(5, 50), start.designs, random.subject = FALSE, contrast, correlation = NULL, rho = 0)verbose=0 does not print any output, while verbose=10 prints
any available notes.ppp, the proportionality parameter for the
proportionality model, and placebos, the number of placebo treatments
in the placebo model.n=c(n1,n2) with n1 the number of hill climbing steps
per trial and n2 the number of searches from random start matrices.long.jumps=c(d,k). If
long.jumps has only length 1 the default for k is 50. If after
k/2 hill-climbing steps the old design criterion is not enhanced (or
at least reached), the algorithm returns to the design from before the jump.start.designs="catalog" can be used to take start designs from the
catalog to which random designs are added till n2 start designs are at
hand.random.subject=TRUE)
or fixed effects (random.subject=FALSE).correlation is a character string.## Not run:
# x <- searchCrossOverDesign(s=9, p=5, v=4, model=4)
#
# jumps <- c(10000, 200) # Do a long jump (10000 changes) every 200 steps
# n <- c(1000, 5) # Do 5 trials with 1000 steps in each trial
# result <- searchCrossOverDesign(s=9, p=5, v=4, model=4, jumps=jumps, n=n)
# plot(result)
# ## End(Not run)
Run the code above in your browser using DataLab