myncurve: Normal Distribution

Description Usage Arguments Value Examples

View source: R/myncurve.R

Description

This function draws a normal distribution curve for with mean=mu and sd=sigma an xlim of (mu-3*sigma,mu+3*sigma) also shades region that corresponds with P(x<=a)

Usage

1
myncurve(mu, sigma, a)

Arguments

mu

integer for mean of normal distribution

sigma

integer for sd of normal distribution

a

integer for probability P(x<=a)

Value

Curve of normal distribution with mean=mu and sd=sigma, shaded probility area and probability of P(x<=a)

Examples

1
myncurve(2,4,3)

caba0009/TannerCabaniss documentation built on Nov. 25, 2020, 3:43 a.m.