get_distances: Get Distances

get_distancesR Documentation

Get Distances

Description

Get Distances

Usage

get_distances(x, ...)

## S4 method for signature '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.

Author(s)

N. Frerebeau

See Also

Other mutators: dimnames(), get_contributions(), get_coordinates(), get_data(), get_eigenvalues(), loadings(), subset()


dimensio documentation built on Nov. 25, 2023, 1:08 a.m.