Description Usage Arguments Value
Draws random datagiven a vector 'data' and its associated uncertainties, either in the form of 'sigmas' or a set of 'lower.bounds' and 'upper.bounds'. If 'sigmas' is provided, draw from a Gaussian centered on the data. If bounds are provided, draw from a Gaussian truncated at the lower and upper bounds.
1 2 | draw_random_data(data, sigmas = NULL, n.sigma = 2, n.replicates = 1,
lower.bounds = NULL, upper.bounds = NULL)
|
data |
A vector of data. |
sigmas |
A vector of 1 sigma uncertainties associated with the data. |
n.sigma |
How many sigmas should be allowed? |
n.replicates |
The number of random data series to draw. |
lower.bounds |
A vector of lower bounds for the data. |
upper.bounds |
A vector of upper bounds for the data. |
A matrix of randomly drawn data series.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.