corona_converge: Create various statistical distributions

Description Usage Arguments Examples

Description

Build a normal or log-normal distribution from simple components. Large numbers e.g. n=1e6 will take some time to run.

Usage

1
2
3
4
5
6
7
8
9
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

1
corona_converge( n=10000, method='multiply', xscale=0.4, bins=128, runs=5 )

corona documentation built on Oct. 23, 2020, 7:15 p.m.