This method take a IclPath-class object and an integer K and return the solution from the path with K clusters

# S4 method for IclPath
cut(x, K)

Arguments

x

A an IclPath solution

K

Desired number of cluster

Value

an IclPath-class object with the desired number of cluster