Usage
sim.CLT(ns, n, p1=0, p2=1,
type=c("normal", "uniform", "lognormal", "antinormal"),
col.fill="lightsteelblue3", n.display=2, dig.dec=3,
subtitle=TRUE, pop=TRUE, graphics.screen=TRUE, ...)
Arguments
ns
Number of samples, that is, repetitions of the experiment.
p1
First parameter value for the population distribution, the mean, minimum or meanlog for the normal, uniform and lognormal populations, respectively. Must be 0, the minimum, for the anti-normal distribution.
p2
Second parameter value for the population distribution, the standard deviation, maximum or sdlog for the normal, uniform and lognormal populations, respectively. Is the maximum for the anti-normal, usually left at the default value of 1.
type
The general population distribution.
col.fill
Fill color of the graphs.
n.display
Number of samples for which to display the sample mean and data values.
dig.dec
Number of decimal digits to display on the output.
subtitle
If TRUE
, then display the specific parameter values of the population or sample, depending on the graph.
pop
If TRUE
, then display the graph of the population from which the data are sampled.
graphics.screen
If TRUE
, then display the graphs on the screen.
...
Other parameter values for R function lm
which provides the core computations.