myncurve: MATH4753COUR0004::myncurve()

Description Usage Arguments Value Examples

View source: R/myncurve.R

Description

Creates a graph of a normal curve with mean mu and standard deviation sigma. On this plot, it will also plot the lower tail area under the curve beginning at a, and print this value out to the console.

Usage

1
myncurve(mu = 0, sigma = 1, a)

Arguments

mu

The mean of this normal distribution. Defaults to 0

sigma

The standard deviation of this normal distribution. Defaults to 1

a

The lower tail probability which the function begins at.

Value

This function does not return any values. Rather, it simply prints out the lower tail probability of the given curve beginning at the value a

Examples

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

pojac3/MATH4753COUR0004 documentation built on Nov. 22, 2020, 10:20 a.m.