inert_1D: 1D inertia

Description Usage Arguments

Description

Computes the 1D inertia of a column of a matrix data on a subset of rows of a data matrix.

Usage

1
2
inert_1D(Z, compo, indices, w = rep(1/nrow(Z), nrow(Z)), D = rep(1,
  ncol(Z)))

Arguments

Z

matrix data

compo

column number

indices

vector representing the subset of rows

w

weight vector

D

diagonal distance matrix


chavent/divclust documentation built on May 13, 2019, 3:38 p.m.