powered by
metric.dist(x, y = NULL, method = "euclidean", p = 2, ...)
n1
m
n2
dist
y=NULL
metric.lp for functional data case
data(iris) d<-metric.dist(iris[,1:4]) matplot(d,type="l",col=as.numeric(iris[,5]))
Run the code above in your browser using DataLab