powered by
Compute a distance between two symbolic objects.
interval.dist.tobj(sym.obj.x, sym.obj.y, distance = c('hausdorff', 'centers', 'interscal'), p = 2)
First Symbolic Object
Second Symbolic Object
Dsitance to be use
The p in the Hausdorff distance
$$d(w_{u_1},w_{u_2}) = \left( \sum_{j=1}^m \Phi_j(w_{u_1},w_{u_2})^p \right)^{1/p}$$
Return a real number that is the distance between sym.obj.x and sym.obj.y
Billard L. and Diday E. (2006). Symbolic data analysis: Conceptual statistics and data mining. Wiley, Chichester.
interval.dist
# NOT RUN { data(VeterinaryData) VD <- VeterinaryData interval.dist.tobj(sym.obj(VD,1),sym.obj(VD,2)) interval.dist.tobj(sym.obj(VD,1),sym.obj(VD,2),distance='centers') # }
Run the code above in your browser using DataLab