ojaMedianFn: Value of the Oja Criterion

Description Usage Arguments Value Author(s) References See Also Examples

Description

The function returns the value of the Oja criterion function for a given point.

Usage

1

Arguments

X

a numeric data set or data matrix.

x

a numeric vector with the coordinates of interest.

Value

a numeric value containing the ciriterion evaluated at x for the data X.

Author(s)

ported to R by Daniel Fischer. Original C++ code by Tommi Ronkainen.

References

Oja, H. (1983), Descriptive statistics for multivariate distributions, Statistics and Probability Letters, 1, 327–332.

Ronkainen, T., Oja, H. and Orponen, P. (2002), Computation of the multivariate Oja median, in Dutter R., Filzmoser P.,Gather U. and Rousseeuw, P. J.: Developments in Robust Statistics, Heidelberg: Springer, 344–359.

See Also

ojaMedian

Examples

1
2
3
4
5
data(biochem)
X <- as.matrix(biochem[,1:2])
x <- ojaMedian(X)
ojaMedianFn(X, x)
ojaMedianFn(X, c(1.1, 0.4))

OjaNP documentation built on Feb. 23, 2020, 5:07 p.m.