gen_latin {yager} | R Documentation |
Generate random numbers of latin hypercube sampling
Description
The function gen_latin
generates a vector of random numbers by latin hypercube sampling
Usage
gen_latin(min = 0, max = 1, n, seed = 1)
Arguments
min |
The minimum value of random numbers |
max |
The maxinum value of random numbers |
n |
The number of random numbers to gernate |
seed |
The seed value of random number generation |
Value
A vector of random numbers bounded by the min and max
Examples
gen_latin(0, 1, 10, 2020)
[Package yager version 0.1.1 Index]