# tolerance-internal: Internal Functions In tolerance: Statistical Tolerance Intervals and Regions

## Description

Internal functions for the package `tolerance`.

## Usage

 ```1 2 3 4 5 6``` ```extrap(x, alpha, P) interp(x, alpha, P) rFUN(FUN, r1 = "1", r2 = "2") rwishart(df, p) two.sided(x, alpha, P) zeta.fun(x) ```

## Arguments

 `alpha` The level chosen such that `1-alpha` is the confidence level. `P` The proportion of the population to be covered by this tolerance interval. `FUN` A function that takes exactly two arguments: `r1` and `r2`. `r1, r2` The two arguments to `FUN`. `df` The degrees of freedom for the Wishart matrix to be generated. `p` The dimension of the random Wishart matrix. `x` For `zeta.fun`, a vector or matrix whose real values must be greater than or equal to 1. For `extrap`, `interp`, and `two.sided`, it is a vector of data.

## Details

These functions are not intended to be called by the user. `extrap`, `interp`, and `two.sided` are functions used for the Young-Mathew approach to improving nonparametric tolerance intervals. `rFUN` is a way to extract the character expression for `FUN` with the two arguments `r1` and `r2`. `rwishart` performs random generation of Wishart matrices. `zeta.fun` is a condensed version of the Riemann's zeta function given in the VGAM package. Please use that reference if looking to directly implement Riemann's zeta function. The function we have included is done so out of convenience.

## References

Yee, T. (2010), The VGAM Package for Categorical Data Analysis, Journal of Statistical Software, 32, 1–34.

## See Also

`mvtol.region`, `nptol.int`

tolerance documentation built on Feb. 6, 2020, 5:08 p.m.