sample_uniforms: Sample from uniform distributions

Description Usage Arguments Value

View source: R/sample-pars.R

Description

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

Usage

1
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.


InnovationValueInitiative/IVI-RA documentation built on Oct. 20, 2020, 10:02 p.m.