Learn R Programming

tolerance (version 3.0.0)

tolerance-internal: Internal Functions

Description

Internal functions for the package tolerance.

Usage

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