Learn R Programming

PASWR2 (version 1.0.5)

normarea: 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

Examples

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

# }

Run the code above in your browser using DataLab