This function calculates critical values or p-values which cannot be obtained numerically, and only tabularized version is available.
qtable(p, probs, quants)
vector of probabilities.
vector of given probabilities.
vector of given corresponding quantiles.
A vector of interpolated values
This function is internal routine used to obtain Grubbs and Dixon critical values. It fits linear or cubical regression to closests values of its argument, then uses obtained function to obtain quantile by interpolation.