| rLHD {LHD} | R Documentation | 
Generate a random Latin Hypercube Design (LHD)
Description
rLHD returns a random n by k Latin hypercube design matrix
Usage
rLHD(n, k)
Arguments
| n | A positive integer, which stands for the number of rows (or run size). | 
| k | A positive integer, which stands for the number of columns (or factor size). | 
Value
If all inputs are positive integer, then the output will be a n by k design matrix.
Examples
#create a toy LHD with 5 rows and 3 columns
toy=rLHD(n=5,k=3);toy
#another example with 9 rows and 2 columns
rLHD(9,2)
[Package LHD version 1.3.3 Index]