Calculates the probability of exceedance for a given distribution, threshold and distribution parameters.
pdist(pname, th, args)
Distribution to be used which is embedded through the quote
command.
This can comprise an existing function from the stats
package e.g. pnorm
.
Alternatively this can be user defined.
Threshold for calculating the \[Pr(X > th)\]
Arguments that correspond to the specified distribution (but excluding the threshold.