myncurve: A function to display a normal curve.

Description Usage Arguments Value Examples

View source: R/myncurve.R

Description

A function to display a normal curve.

Usage

1
myncurve(a, mu, sigma)

Arguments

a

The probability that X will be less than or equal to.

mu

The mean.

sigma

The standard deviation.

Value

Makes a curve, shades the area from negative infinity to a, calculates the probability that X <= a, P(X <= a), prints the calculated probability to the console.

Examples

1
## Not run: myncurve(3, 10, 5)

jndaniel12/MATH4753DANIEL documentation built on April 25, 2021, 1:47 a.m.