cdms: computes the doubly centered distance matrices
Description
computes the doubly centered distance matrices
Usage
cdms(x, vec = 1:ncol(x), membership = NULL, ...)
Arguments
x
matrix, each row is a sample
vec
vector which indicates which columns are treated as one sample
membership
depreciated. Now use vec.
Value
It returns a list of distance matrices.