powered by
Generate a random Latin Hypercube design
LHD(n, p)
number of runs desired
number of design factors
a Latin Hypercube Design that is not scaled (i.e. the grid point locations are integers)
a standard Latin Hypercube Design that is scaled to (0,1); design locaitons are placed at the centers of selected grids.
# NOT RUN { #Generate a random Latin hypercube design with 20 runs and 2 variables D<-LHD(n = 20,p = 2) D$design D$standDesign # }
Run the code above in your browser using DataLab