Skip to contents

Get Distances

Usage

get_distances(x, ...)

# S4 method for MultivariateAnalysis
get_distances(x, margin = 1)

Arguments

x

An object from which to get element(s) (a CA, MCA or PCA object).

...

Currently not used.

margin

A length-one numeric vector giving the subscript which the data will be returned: 1 indicates individuals/rows (the default), 2 indicates variables/columns.

Value

A numeric vector of squared distance to the centroide.

See also

Author

N. Frerebeau