myncurve: My normal distribution plotter

Description Usage Arguments Details Value Examples

View source: R/myncurve.R

Description

Plots a normal distribution with the given parameters

Usage

1
myncurve(mu, sigma, a)

Arguments

mu

a number, the mean of the normal distribution

sigma

a number, the standard deviation of the normal distribution

a

a number, the point up to which to calculate the lower tail

Details

Given the mean, standard deviation and a value to evaluate against, plots the curve and shades the lower tail, then returns the probability for a value to be in the lower tail.

Value

a plot with the lower tail shaded and a list containing the probability for a value to be in that area

Examples

1
myncurve(mu=10,sigma=5,a=6)

Nat-Geo/math4753 documentation built on April 16, 2020, 12:35 a.m.