grubbs.test(x, type = 10, opposite = FALSE, two.sided = FALSE)opposite parameter). 11 is a test
for two outliers on opposite tails, 20 is test for two outliers in one tail.qgrubbs function.dixon.test, chisq.out.testset.seed(1234)
x = rnorm(10)
grubbs.test(x)
grubbs.test(x,type=20)
grubbs.test(x,type=11)Run the code above in your browser using DataLab