Cmeasure {DRquality} | R Documentation |
Calculate the C-Measure subtypes of minimal path length and minimal wiring
Cmeasure(Data, Projection, k = 1)
Data |
[1:n,1:d] numerical matrix of points in input space. |
Projection |
[1:n,1:2] numerical matrix of points in output space. |
k |
Number of nearest neighbors, both measures set it always to k=1. |
[1:2] Numerical vector of MinimalPathlength and MinimalWiring values.
Michael Thrun
if(requireNamespace("FCPS")){
data(Hepta,package="FCPS")
projection=cmdscale(dist(Hepta$Data), k=2)
Cmeasure(Hepta$Data,projection)
}