|
|
| Subject: | XploRe Application Guide |
| See XploRe: |
| Quantlet: | clust02 | |
| Description: | computes the distance with "lpdist" metric (here: p=2) | |
| Download: | clust02.xpl |
library ("xclust")
x = #(5, 2,-2, -3, -2, -2, 1, 1)~#(-3, -4, -1, 0, -2, 4, 2, 4)
q = #(1, 1)
lpdist (x, q, 2)| Subject: | XploRe Application Guide |
| See XploRe: |