rLHD

0th

Percentile

Generate a random Latin Hypercube Design (LHD)

rLHD returns a Latin Hypercube Design matrix with user-defined dimention

Usage
rLHD(n, k)
Arguments
n

A positive integer.

k

A positive integer.

Details

  • n stands for the number of rows (or run size).

  • k stands for the number of columns (or the number of factors).

Value

If all inputs are positive integer, then the output will be a n by k design matrix.

Aliases
  • rLHD
Examples
# NOT RUN {
#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)

# }
Documentation reproduced from package LHD, version 0.1.0, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.