View source: R/RD_for_LA_OofA.R View source: R/RcppExports.R
LA_OofAC | R Documentation |
LA_OofAC
returns a n
by k
D-optimal order-of-addition design matrix generated by lioness algorithm (LA)
LA_OofAC(n, k, m = 100L, N = 5000L)
factorialC(x)
modC(a, b)
rOofAC(n, k)
PWOC(X)
TC(X)
MOMC(X)
n |
A positive integer, which stands for the number of rows (or run size). Note that the maximum of |
k |
A positive integer, which 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 |
x |
is a positive integer. |
a |
is a positive integer. |
b |
is a positive integer. |
X |
A matrix object. In general, |
If all inputs are logical, then the output will be a n
by k
D-optimal order-of-addition design.
#generate a D-optimal full OofA with 4 factors.
try=LA_OofAC(n=24,k=4,m=10,N=50)
try
#Another example
#generate a D-optimal 11-run OofA with 4 factors.
try2=LA_OofAC(n=11,k=4,m=10,N=50)
try2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.