MeasureTandD {DRquality} | R Documentation |
Trustworthiness and Discontinuity.
Description
In a trustworthy projection the visualized proximities hold in the original data as well, whereas a continuous projection visualizes all proximities of the original data.
Usage
MeasureTandD(Data, pData, NeighborhoodSize)
Arguments
Data |
[1:n,1:d] points in input room with d attributes |
pData |
[1:n,1:2] projected points in output room, with index,x,y or index,line,column |
NeighborhoodSize |
Integer - sets the maximum number of neighbors to calculate trustworthiness and continuity for. |
Value
Numeric matrix [1:NeighborhoodSize,1:2] containing the trustworthiness values in the first column and the discontinuity values in the second column.
Author(s)
Julian Märte
References
Venna, J., & Kaski, S. (2005, September). Local multidimensional scaling with controlled tradeoff between trustworthiness and continuity. In Proceedings of 5th Workshop on Self-Organizing Maps (pp. 695-702).
Kaski, S., Nikkilä, J., Oja, M., Venna, J., Törönen, P., & Castrén, E. (2003). Trustworthiness and metrics in visualizing similarity of gene expression. BMC bioinformatics, 4(1), 1-13.
Examples
if(requireNamespace("FCPS")){
data(Hepta,package="FCPS")
projection=cmdscale(dist(Hepta$Data), k=2)
MeasureTandD(Hepta$Data,projection, 2)
}