mycltu: Central limit function for the uniform distribution

Description Usage Arguments Value Examples

View source: R/mycltu.R

Description

Central limit function for the uniform distribution

Usage

1
mycltu(n, iter, a = 0, b = 10)

Arguments

n

number of samples

iter

number of iterations

a

lower limit of the uniform distribution

b

upper limit of the uniform distirbution

Value

returns a histogram of the sample distribution, and its theorical density curve and the density curve made from the data

Examples

1
mycltu(n=4,iter=1000) will give you a histogram of the sample mean, sampling from an uniform distribution with the default values a=0 and b=10

sergiogarcia29/MATH4753PROJ1 documentation built on Nov. 22, 2020, 12:39 a.m.