inQn {DetR} | R Documentation |
Test function for the qn used in DetR.
inQn(x)
x |
Vector of 2 or more numbers. Should contain no ties. |
the value of the qn estimator of scale.
Kaveh Vakili. Calls code translated from the cde for computing the Qn found in package pcaPP (by Peter Filzmoser, Heinrich Fritz, Klaudius Kalcher , see citation("pcaPP")).
see pcaPP::qn
and citation("pcaPP").
set.seed(123) #for reproductibility x<-rnorm(101) inQn(x) #should be the same: pcaPP::qn(x)