Weight function for w

Share:

Description

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

Usage

1
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