Learn R Programming

scvxclustr (version 0.1)

dist_weight: Weight function for w

Description

wrap up of the stat::dist function for the weight of data

Usage

dist_weight(X, phi, dist.type, p)

Arguments

X
data matrix p by n
phi
scale
dist.type
c("euclidean", "maximum", "manhattan", "canberra", "binary" , "minkowski")
p
power of distance