pearson.dist: Distance based on Pearson's R squared

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

Description

The calculated distance is D^2 = (1 - COR (x')) / 2

Usage

1

Arguments

x

a matrix

Details

The distance between the rows of x is calculated. The possible values range from 0 (prefectly correlated) over 0.5 (uncorrelated) to 1 (perfectly anti-correlated).

Value

distance matrix (distance object)

Author(s)

C. Beleites

References

S. Theodoridis and K. Koutroumbas: Pattern Recognition, 3rd ed., p. 495

See Also

as.dist

Examples

1
2
pearson.dist (flu [[]])
pearson.dist (flu)

GegznaV/hyperSpec2 documentation built on Dec. 27, 2019, 9:43 a.m.