myncurve: Normal distribution curve

Description Usage Arguments Value Examples

View source: R/myncurve.R

Description

Normal distribution curve

Usage

1
myncurve(mu, sigma, p)

Arguments

mu

mean of the distribution

sigma

standard deviation of the distribution

p

start point to calculate the lower tail

Value

returns a graph of the distribution and the area of the lower tail probability, also gives you the lower tail probability

Examples

1
2
\
myncurve(mu=10,sigma=2,p=9) will give you a graph of the normal for the given mu and sigma, and the area of the lower tail probability of p<=9. It will also give you the value of the area, which is equal to the probability.

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