The function provides an alternative implementation of random uniform distribution sampling using R's rng scope.
runif_r(n, min = 0, max = 1)
An unsigned integer denoting the number of realizations to generate.
unsigned integer
A double indicating the minimum \(a\) value in the uniform's interval \(\left[a,b\right]\)
double
A double indicating the maximum \(b\) value in the uniform's interval \(\left[a,b\right]\)
# NOT RUN { set.seed(134) b = runif_r(10) # }
Run the code above in your browser using DataLab