- n
A positive integer that stands for the number of rows (or run size).
- k
A positive integer that stands for the number of columns (or factor size).
- m
A positive integer that stands for the number of starting design candidates. The default is set to be 100.
- N
A positive integer that stands for the maximum number of iterations. The default is set to be 5000. A larger value of N may result a high CPU time.
- OC
An optimality criterion. The default setting is "phi_p" (for space-filling LHDs), and it could be one of the following: "phi_p", "AvgAbsCor", "MaxAbsCor", "MaxProCriterion".
- p
A positive integer that is the parameter in the phi_p formula, and p is preferred to be large. The default and recommended value is 15.
- q
The default is set to be 1, and it could be either 1 or 2. If q is 1, the Manhattan (rectangular) distance will be used. If q is 2, the Euclidean distance will be used.
- x
A vector.
- a
is the starting value of the sequence.
- b
is the ending value of the sequence.
- X
A matrix object. In general, X stands for a design matrix.
- i
A positive integer, which stands for the i^th row of X.
- j
A positive integer, which stands for the j^th column (or row) of X, and it should be within [1,ncol(X)] (or [1,nrow(X)]).
- y
A vector.
- type
An exchange type. If type is "col" (the default setting), two random elements will be exchanged within column j. If type is "row", two random elements will be exchanged within row j.