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
normarea(lower = -Inf, upper = Inf, m = 0, sig = 1)
the desired lower value
the desired upper value
the mean for the population (default is the standard normal with m = 0
)
the standard deviation of the population (default is the standard normal with sig = 1
)
Draws the specified area in a graphics device
# Finds and graphically illustrates P(70 < X < 130) given X is N(100, 15)
normarea(lower = 70, upper = 130, m = 100, sig = 15)