myclt: This function creates a random sample from a uniform...

View source: R/myclt.R

mycltR Documentation

This function creates a random sample from a uniform distribution and creates plots based on the shape of the sample distribution.

Description

This function creates a random sample from a uniform distribution and creates plots based on the shape of the sample distribution.

Usage

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

Arguments

n

Number of trials

iter

Number of iterations

a

A number, representing the minimum value of the sample distribution.

b

A number, representing the maximum value of the sample distribution.

Value

Returns a plot of the shape of the sample distribution taken randomly from a uniform distribution.

Examples


## Not run: myclt(n = 20, iter = 100000, a = 0, b = 10)

treyhille/MATH4753.0231 documentation built on May 3, 2022, 8:25 p.m.