Learn R Programming

UniDOE (version 1.0.2)

GenUD_MS: Generating Uniform Design of Experiments using diffrent initial designs

Description

This function takes n,s,q,crit and nshoot to return a design. nshoot number of random initial designs are used in each shoot. The design returned is the best design over all shoots.

Usage

GenUD_MS(n, s, q, crit, maxiter, nshoot, vis)

Arguments

n

an integer R object. Run of Experiment

s

an integer R object. Factor of Experiment.

q

an integer R object. Level of Experiment.

crit

an character R object. Type of criterion to use.

"maximin" -- maximin Discrepancy ;

"CD2" --Centered L2 Discrepancy ;

"WD2" -- Wrap-around L2 Discrepancy;

"MD2" --Mixture L2 Discrepancy ;

maxiter

a positive integer R object. Maximum iteration number in outer while loop of SATA algorithm in each shoot.

nshoot

Total counts to try different initial designs.

vis

an boolean R object. If true, plot the criterion value sequence for all shoots.

Value

Best design over all shoots.

References

Zhang, A. and Li, H. (2017). UniDOE: An R package for constructing uniform design of experiments via stochastic and adaptive threshold accepting algorithm. Technical Report.

Examples

Run this code
# NOT RUN {
D = GenUD_MS(36, 4, 6, crit="CD2",
             maxiter=50, nshoot = 6,
             vis=TRUE)
# }

Run the code above in your browser using DataLab