powered by
Build a normal or log-normal distribution from simple components. Large numbers e.g. n=1e6 will take some time to run.
corona_converge( n = 1e+05, method = "add", runs = 7, pdf = FALSE, xscale = 1, bins = 64, log = FALSE )
is the number of samples
is either 'multiply' or 'add'
number of iterations (default 7)
defaults to FALSE
a scaling factor, can use values < 1.0 to magnify (x) e.g. 0.4
defaults to 64
take logarithm of values (for 'multiply')
# NOT RUN { corona_converge( n=10000, method='multiply', xscale=0.4, bins=128, runs=5 ) # }
Run the code above in your browser using DataLab