iscam_normprob: iscam_normprob Function

Description Usage Arguments Examples

Description

This function calculates tail probability for the normal distribution.

Usage

1
2
iscam_normprob(xval, mean = 0, sd = 1, direction, label = NULL,
  xval2 = NULL, digits = 4)

Arguments

xval

x value

mean

default mean = 0

sd

default standard deviation = 1

direction

a String for finding the probability above "above" or below "below" the inputted value. If "outside" or "between" are specified, a second larger observation needs to be given at the end.

label

It is highly recommended that you indicate a label for the horizontal axis, with the quotation marks e.g., "sample proportions"

xval2

used if direction is specified as "outside" or "between"

digits

number of tick marks on x axis

Examples

1
2
iscam_normprob(2.2, direction = "above", label = "sample proportions")
iscam_normprob(2, 5, 1.5, direction = "outside", label = "sample proportions", xval2 = 3)

apjacobson/iscam documentation built on May 6, 2019, 12:08 p.m.