InQn: Test function for the qn

Description Usage Arguments Value Author(s) References Examples

Description

Test function for the qn used in DetR.

Usage

1
  inQn(x)

Arguments

x

Vector of 2 or more numbers. Should contain no ties.

Value

the value of the qn estimator of scale.

Author(s)

Kaveh Vakili

References

see pcaPP::qn and citation("pcaPP").

Examples

1
2
3
4
5
set.seed(123)	#for reproductibility
x<-rnorm(101)
inQn(x)
#should be the same:
pcaPP::qn(x)

Example output

Loading required package: robustbase
Loading required package: pcaPP
[1] 0.9294319
[1] 0.9294319

DetMCD documentation built on May 2, 2019, 6:05 a.m.