Normal Tail Probability
normprob.Rd
normprob
finds a p-value and plots it onto a normal distribution with mean
and standard deviation as specified. The function can find the probability
above, below, between, or outside of the observed value, as specified by
directions
.
Arguments
- xval
observed value.
- mean
mean of normal distribution.
- sd
standard deviation of normal distribution.
- direction
direction for probability calculation, "above" or "below"; if "outside" or "between" are used, a second larger observation,
xval2
must be specified- label
horizontal axis label.
- xval2
second observation value.
- digits
number of digits to display.