RSPD: Rotated sphere packing designs

View source: R/RSPD.r

RSPDR Documentation

Rotated sphere packing designs

Description

Generates a rotated sphere packing design.

Usage

RSPD(p=2,n,rotation="magic",w=100)

Arguments

p

Number of dimensions, must be an integer greater than one.

n

Number of points, must be a positive integer.

rotation

Optional, whether to use the magic rotation matrix (for p=2, recommended) or random rotation matrices.

w

Number of rotation matrices to try, fixed to 1 when p=2 and rotation="magic".

Details

This function generates a rotated sphere packing design.

Value

The value returned from the function is a list containing the following components:

Design

The generated design.

generator

The generator matrix.

rotation

The rotation matrix.

delta

The value of parameter delta.

Theta

The value of parameter Theta.

l

The value of parameter l.

FillDistance

The fill distance of the design for the nonboundary region.

References

He, Xu (2017). "Rotated sphere packing designs", Journal of the American Statistical Association, 112(520): 1612-1622.

Examples

RSPD(p=2,n=50,rotation="magic",w=100)

LatticeDesign documentation built on Nov. 13, 2022, 9:06 a.m.