This function is a part of the DENFIS method to generate cluster centers.
1  ECM(data.train, Dthr)

data.train 
a matrix (m \times n) of data for training, where m is the number of instances and n is the number of variables where the last column is the output variable. 
Dthr 
the threshold value for the evolving clustering method (ECM), between 0 and 1. 
a matrix of cluster centers
DENFIS
and DENFIS.eng
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.