corona_converge {corona} | R Documentation |
Create various statistical distributions
Description
Build a normal or log-normal distribution from simple components. Large numbers e.g. n=1e6 will take some time to run.
Usage
corona_converge(
n = 1e+05,
method = "add",
runs = 7,
pdf = FALSE,
xscale = 1,
bins = 64,
log = FALSE
)
Arguments
n |
is the number of samples |
method |
is either 'multiply' or 'add' |
runs |
number of iterations (default 7) |
pdf |
defaults to FALSE |
xscale |
a scaling factor, can use values < 1.0 to magnify (x) e.g. 0.4 |
bins |
defaults to 64 |
log |
take logarithm of values (for 'multiply') |
Examples
corona_converge( n=10000, method='multiply', xscale=0.4, bins=128, runs=5 )
[Package corona version 0.3.0 Index]