cut-IclPath-method function

Generic method to cut a path solution to a desired number of cluster

Generic method to cut a path solution to a desired number of cluster

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

## S4 method for signature 'IclPath' cut(x, K)

Arguments

  • x: A an IclPath solution
  • K: Desired number of cluster

Returns

an IclPath-class object with the desired number of cluster