normarea: Normal Area

normareaR Documentation

Normal Area

Description

Function that computes and draws the area between two user specified values in a user specified normal distribution with a given mean and standard deviation

Usage

normarea(lower = -Inf, upper = Inf, m = 0, sig = 1)

Arguments

lower

the desired lower value

upper

the desired upper value

m

the mean for the population (default is the standard normal with m = 0)

sig

the standard deviation of the population (default is the standard normal with sig = 1)

Value

Draws the specified area in a graphics device

Author(s)

Alan T. Arnholt <arnholtat@appstate.edu>

Examples

# Finds and graphically illustrates P(70 < X < 130) given X is N(100, 15)
normarea(lower = 70, upper = 130, m = 100, sig = 15) 


alanarnholt/PASWR2 documentation built on June 2, 2022, 5:20 a.m.