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

# S4 method for icl_path
cut(x, K)

Arguments

x

A an icl_path solution

K

Desired number of cluster

Value

an icl_path-class object with the desired number of cluster