Learn R Programming

DetMCD (version 0.0.5)

inQn: Test function for the qn

Description

Test function for the qn used in DetR.

Usage

inQn(x)

Arguments

x

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

Value

the value of the qn estimator of scale.

References

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

Examples

Run this code
# NOT RUN {
set.seed(123)	#for reproductibility
x<-rnorm(101)
inQn(x)
#should be the same:
pcaPP::qn(x)
# }

Run the code above in your browser using DataLab