Learn R Programming

BSDA (version 0.1)

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, mu, sigma)

Arguments

lower
the lower value.
upper
the upper value.
mu
the mean for the population.
sigma
the standard deviation of the population.

Examples

Run this code
normarea(70,130,100,15)
    # Finds and P(70 < X < 130) given X is N(100,15).

Run the code above in your browser using DataLab