Learn R Programming

greed (version 0.6.1)

cut,IclPath-method: Generic method to cut a path solution to a desired number of cluster

Description

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

Usage

# S4 method for IclPath
cut(x, K)

Value

an IclPath-class object with the desired number of cluster

Arguments

x

A an IclPath solution

K

Desired number of cluster