powered by
Generates a rotated sphere packing design.
RSPD(p=2,n,rotation="magic",w=100)
The value returned from the function is a list containing the following components:
The generated design.
The generator matrix.
The rotation matrix.
The value of parameter delta.
The value of parameter Theta.
The value of parameter l.
The fill distance of the design for the nonboundary region.
Number of dimensions, must be an integer greater than one.
Number of points, must be a positive integer.
Optional, whether to use the magic rotation matrix (for p=2, recommended) or random rotation matrices.
Number of rotation matrices to try, fixed to 1 when p=2 and rotation="magic".
This function generates a rotated sphere packing design.
He, Xu (2017). "Rotated sphere packing designs", Journal of the American Statistical Association, 112(520): 1612-1622.
RSPD(p=2,n=50,rotation="magic",w=100)
Run the code above in your browser using DataLab