manhattan computes the Manhattan distance from data to centers.
manhattan
manhattan(x, centers)
x
internally provided by miclust function.
miclust
centers
internal value to be used by miclust function.