Sample from multiple independent uniform distributions. Produces a unique sample of size n using each element in lower and upper. Each sample using runif.

sample_uniforms(n, lower, upper, col_names = NULL)

Arguments

n

Number of observations.

lower

Vector of lower bounds.

upper

Vector of upper bounds.

col_names

Column names to returned matrix.

Value

Matrix with each column a sample from a uniform distribution.