myclt: Central Limit Theorem function for the sum of a uniform...

Description Usage Arguments Value Examples

View source: R/myclt.R

Description

Central Limit Theorem function for the sum of a uniform distribution.

Usage

1
myclt(n, iter, a = 0, b = 5)

Arguments

n

The sample size.

iter

How many samples (iterations) to take.

a

The lower limit of the uniform distribution.

b

The upper limit of the uniform distribution.

Value

Outputs a histogram of the sums of each sample taken, and a matrix containing the sums.

Examples

1
## Not run: myclt(10, 10000)

ShilohBeeler/shilohMATH4753 documentation built on Nov. 21, 2020, 9:10 a.m.