Description Usage Arguments Value Examples
Generate a distribution from a two Gaussian mixture
1 2 | gen_two_gaussian_dist(p1, mu1, s1, mu2, s2, start, stop, step,
rn_seed = 42)
|
p1 |
- the fractional probability of the first Gaussian (< 1.0) |
mu1 |
- the mean of the first Gaussian |
s1 |
- the standard deviation of the first Gaussian |
mu2 |
- the mean of the second Gaussian |
s2 |
- the standard deviation of the second Gaussian |
start |
- starting value of x (e.g. diameter) |
stop |
- ending value of x (e.g. diameter) |
step |
- step x (e.g. diameter) |
rn_seed |
- the random number seed (default 42) |
df - a data frame with x and frequency
1 2 | library(particlesizeR)
data <- gen_two_gaussian_dist(0.5, 0.5, 1.0, 10.0, 3.0, 0, 20, 0.1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.