inQn: Test function for the qn

Description Usage Arguments Value Author(s) References Examples

View source: R/auxyl_F.R

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. Calls code translated from the cde for computing the Qn found in package pcaPP (by Peter Filzmoser, Heinrich Fritz, Klaudius Kalcher , see citation("pcaPP")).

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)

DetR documentation built on May 30, 2017, 1:58 a.m.

Search within the DetR package
Search all R packages, documentation and source code