mycltu: Central Limit Theorem Uniform Distribution

Description Usage Arguments Value Examples

View source: R/mycltu.R

Description

Using this function will create a uniform distribution of the data as provided. Giving a sample size, number of iterations, and axis minimum and maximum values, the function will create a histogram with a normal curve and a uniform curve.

Usage

1
mycltu(n, iter, a, b)

Arguments

n

sample size

iter

number of iterations

a

x-axis minimum value

b

x-axis maximum value

Value

A histogram of a uniform distribution following the central limit theorem

Examples

1
2
3
mycltu(n=30,iter=10000,a=0,b=10)
Where n = 30 sample size, iter = 10000 iterations of the sample,
a = 0 minimum value, and b = 10 maximum value.

casspants/MATH4753kran1018 documentation built on Nov. 26, 2020, 1:12 p.m.