Arguments
dof
an integer greater than 1
order
a positive number used to set the order of magnitide of the number of samples (default is 6)
ndecimals
a positive integer describing the number of decimal places desired in the results
dist
a character string identifying the noise distribution. The current list of possible distributions is, 'normal', 'uniform', 'lognormal', 'poisson' and 'binomial'.
par1
one of two parameters used to define the noise distribution
For 'normal', par1 = mean,
For 'uniform', par1 = min,
For 'lognormal', par1 = logmean,
For 'poisson', par1=lambda,
For 'binomial', par1=size
par2
the second of two parameters used to define the noise distribution
For 'normal', par2 = std dev,
For 'uniform', par2 = max,
For 'lognormal', par2 = log std dev,
For 'poisson', par2=(not used),
For 'binomial', par2=probability