Description Usage Arguments Value Examples
Simulates relative (fractional) changes in metabolite concentrations using a mixture of beta distributions.
1 | simulate_rel_change(n, par1, par2 = NULL, p = 0.5, con = NULL)
|
n |
Number of samples to draw. |
par1 |
Parameters (alpha, beta) for first distribution. |
par2 |
Optional parameters (alpha, beta) for second distribution. |
p |
Proportion of samples to draw using |
con |
Optional vector of lower and upper constraints on generated samples. |
A vector of relative concentration values.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.