Learn R Programming

LHD (version 1.2.0)

MWT: Modified Williams Transformation

Description

MWT returns a matrix after implementing the modified Williams transformation

Usage

MWT(X)

Arguments

X

A matrix object. In general, X stands for the design matrix, e.g. an LHD or a GLP design.

Value

If all inputs are logical, then the output will be a matrix whose sizes are the same as input matrix. Note that the output matrix is not an LHD.

References

Wang, L., Xiao, Q., and Xu, H. (2018) Optimal maximin $L_1$-distance Latin hypercube designs based on good lattice point designs. The Annals of Statistics, 46(6B), 3741-3766.

Examples

Run this code
# NOT RUN {
#create a toy LHD with 5 rows and 3 columns
toy=rLHD(n=5,k=3);toy

#Implementing the modified Williams transformation on toy:
MWT(toy)

# }

Run the code above in your browser using DataLab