myncurve: Normal Distribution Probability

Description Usage Arguments Value Examples

View source: R/myncurve.R

Description

This function takes in the mean, standard deviation, and upper limit (of the area) to calculate and display the area under the normal distribution curve.

Usage

1
myncurve(mu, sigma, a)

Arguments

mu

mean

sigma

standard deviation

a

upper limit (probability P(X<=a))

Value

Displays the curve with the shaded region along with the area, and outputs the area as a list in the command line

Examples

1
2
myncurve(2,5,5)
myncurve(5,1,5)

eric7chen/MATH4753chen0122 documentation built on April 25, 2021, 1:47 a.m.