qgrubbs(p, n, type = 10, rev = FALSE)
pgrubbs(q, n, type = 10)opposite parameter). 11 is a test
for two outliers on opposite tails, 20 is test for two outliers in one tail.qgrubbs acts as pgrubbs.uniroot.
For test checking presence of two outliers at one tail, the tabularized distribution (Grubbs, 1950)
is used, and approximations of p-values are interpolated using qtable.grubbs.test