View source: R/sampling_utils.R
sampler | R Documentation |
Funtion that will sample parameter values from a uniform distribution based on latin hypercube sampling.
sampler(n = 100, paramdf)
n |
numeric for the number of samples. Default is set to 100. |
paramdf |
dataframe for parameters names and min and max values to use in the uniform distribution to sample parameters. |
This function will sample from a uniform distribution 3 different parameter values of interest. Maximum and minimum values to sample from uniform distribution should be provided.
dataframe for sampled parameters.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.